共计 3 篇文章

PHP的authcode用GO实现

package authcode import ( "encoding/base64" "fmt" "strings" "time" "strconv" "log" "crypto/md5" "encoding/hex" ) // base64 加密 /* func Base64_encode(s string) string { return base64.StdEncoding.EncodeToString( ...

beego配置文件

配置文件内的key不区分大小写 App配置 #App配置 AppName = ApiService RunMode = dev RouterCaseSensitive = true ServerName = ApiService RecoverPanic = true CopyRequestBody = true EnableGzip = false MaxMemory = 1 << 26 EnableErrorsShow = true EnableErrorsRender = false ...