|
|
@@ -167,10 +167,7 @@ func (self *PermitController) XcxLogin() {
|
|
|
//self.SetSession(apps.XcxSessionKey, key.SessionKey)
|
|
|
sessionKey := lib_redis.GetKeySessionKey(wxUser.Id)
|
|
|
lib_redis.SetRedisValue(sessionKey, key.SessionKey, time.Hour*10)
|
|
|
- //beego.BeeLogger.Warn("XcxLogin SessionKey=%s", key.SessionKey)
|
|
|
- if self.CruSession == nil {
|
|
|
- self.ReturnError(401, apps.NoExist, "", nil)
|
|
|
- }
|
|
|
+
|
|
|
//更新会员token
|
|
|
var jwtUser token_model.JwtUser
|
|
|
jwtUser.Id = wxUser.Id
|