作者 yangfu

修改权限过期时间

@@ -572,7 +572,7 @@ func RefreshToken(request *protocol.RefreshTokenRequest) (rsp *protocol.RefreshT @@ -572,7 +572,7 @@ func RefreshToken(request *protocol.RefreshTokenRequest) (rsp *protocol.RefreshT
572 //注入用户二次鉴权 572 //注入用户二次鉴权
573 if authMessage, hasAuth := agg.GetUserModuleAuth(userAuth.CurrentUserCompanyId); !hasAuth && userAuth.CurrentUserCompanyId > 0 { 573 if authMessage, hasAuth := agg.GetUserModuleAuth(userAuth.CurrentUserCompanyId); !hasAuth && userAuth.CurrentUserCompanyId > 0 {
574 log.Error(authMessage.Errno, authMessage.Errmsg) 574 log.Error(authMessage.Errno, authMessage.Errmsg)
575 - err = protocol.NewCustomMessage(4141, authMessage.Errmsg) //账号不存在 575 + err = protocol.NewCustomMessage(4140, authMessage.Errmsg) //账号不存在
576 return 576 return
577 } 577 }
578 //userAuth.AccessToken = uid.NewV1().StringNoDash() 578 //userAuth.AccessToken = uid.NewV1().StringNoDash()