This commit is contained in:
xxj
2021-05-23 16:36:10 +08:00
parent 60bd36188e
commit 2acb45ba82
13 changed files with 82 additions and 60 deletions

View File

@@ -48,7 +48,7 @@ func GetUserFromToken(token string) (userInfo *UserInfo, b bool) {
parm := make(map[string]string)
parm["token"] = token
bod, _ := json.Marshal(parm)
rBody := myhttp.OnPostJSON(config.GetCheckTokenURL(), string(bod))
rBody, _ := myhttp.OnPostJSON(config.GetCheckTokenURL(), string(bod))
if len(rBody) > 0 {
var msg MapMessageBody
json.Unmarshal([]byte(rBody), &msg)