modify config

This commit is contained in:
2021-12-22 17:07:40 +08:00
parent 05a5c7c82f
commit 0ac81a4405
2 changed files with 6 additions and 0 deletions

View File

@@ -37,6 +37,11 @@ var (
expiresIn int64
)
func InitCfg(appid_, secret_ string) {
appid = appid_
secret = secret_
}
type Resp struct {
Errcode int `json:"errcode"`
Errmsg string `json:"errmsg"`