diff --git a/Logs/dsBaseRpc.log b/Logs/dsBaseRpc.log index cdc359e1..dd8efbe2 100644 --- a/Logs/dsBaseRpc.log +++ b/Logs/dsBaseRpc.log @@ -52431,3 +52431,9 @@ [Error]2020/11/23 14:27:23 SqlQueryError Error 1146: Table 'base_db_zhangjun.t_app_base' doesn't exist [Error]2020/11/23 14:27:37 SqlQueryError Error 1146: Table 'base_db_zhangjun.t_app_base' doesn't exist [Error]2020/11/23 14:29:21 SqlQueryError Error 1146: Table 'base_db_zhangjun.t_app_base' doesn't exist +[Error]2020/11/25 09:10:23 SqlQueryError WRONGTYPE Operation against a key holding the wrong kind of value +[Error]2020/11/25 09:10:23 SqlQueryError WRONGTYPE Operation against a key holding the wrong kind of value +[Error]2020/11/25 09:10:23 SqlQueryError WRONGTYPE Operation against a key holding the wrong kind of value +[Error]2020/11/27 14:19:45 SqlQueryError WRONGTYPE Operation against a key holding the wrong kind of value +[Error]2020/11/27 14:19:45 SqlQueryError WRONGTYPE Operation against a key holding the wrong kind of value +[Error]2020/11/27 14:19:45 SqlQueryError WRONGTYPE Operation against a key holding the wrong kind of value diff --git a/dsDataexV1.1/MyService/Auth/AuthService/AuthService.go b/dsDataexV1.1/MyService/Auth/AuthService/AuthService.go index a5a4c457..d8a95627 100644 --- a/dsDataexV1.1/MyService/Auth/AuthService/AuthService.go +++ b/dsDataexV1.1/MyService/Auth/AuthService/AuthService.go @@ -90,7 +90,7 @@ func CheckAccessToken(systemID string,accessTime string,accessToken string) (boo if testToken==accessToken{ - return true,"接入系统票据验证成功",data["app_id"].(string) + return true,"接入系统票据验证成功",data["app_code"].(string) }else { return false,"接入系统票据验证失败","" diff --git a/dsSupport/MyModel/Account/AccountService/AccountService.go b/dsSupport/MyModel/Account/AccountService/AccountService.go index bfe1dcbb..9e224044 100644 --- a/dsSupport/MyModel/Account/AccountService/AccountService.go +++ b/dsSupport/MyModel/Account/AccountService/AccountService.go @@ -40,8 +40,8 @@ func CreateAccessToken(systemID string, accessTime string) (bool, string, string return false,result,"" } else { - if data["auth_token"] != nil { - authToken:= data["auth_token"].(string) + if data["app_token"] != nil { + authToken:= data["app_token"].(string) var accessToken = MD5Util.MD5V1(systemID + accessTime + authToken)