...
|
...
|
@@ -23,7 +23,7 @@ func (service *AuthService) MobileLogin(param *command.MobileLoginCommand) (map[ |
|
|
// 统一用户中心登录
|
|
|
authCodeReply, err := factory.UCenterApi().AppAuthCode(param.Credentials, param.Cuid, param.Cid)
|
|
|
if err != nil || !authCodeReply.IsOk() {
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "统一用户中心认证:"+authCodeReply.Msg+err.Error())
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "【统一用户中心认证】:"+authCodeReply.Msg+err.Error())
|
|
|
}
|
|
|
// 用户权限校验
|
|
|
// 登录平台ID,28-绩效管理后台 29-员工绩效
|
...
|
...
|
@@ -97,7 +97,7 @@ func (srv *AuthService) Authorize(param *command.AuthorizeCommand) (map[string]i |
|
|
// 统一用户中心登录
|
|
|
authCodeReply, err := factory.UCenterApi().AppAuthCode(param.Credentials, param.Cuid, param.Cid)
|
|
|
if err != nil || !authCodeReply.IsOk() {
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "统一用户中心认证:"+authCodeReply.Msg+err.Error())
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "【统一用户中心认证】:"+authCodeReply.Msg+err.Error())
|
|
|
}
|
|
|
// 用户权限校验
|
|
|
// 登录平台ID, 29-员工绩效
|
...
|
...
|
|