modify config
This commit is contained in:
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user