...
|
...
|
@@ -486,7 +486,8 @@ func (svr AuthService) getUserInfo(operator domain.Operator) (interface{}, error |
|
|
func (svr AuthService) getToken(loginToken domain.LoginToken) (map[string]interface{}, error) {
|
|
|
creationUserGateway := allied_creation_user.NewHttplibAlliedCreationUser(domain.Operator{})
|
|
|
userSearchResult, err := creationUserGateway.UserSearch(allied_creation_user.ReqUserSearch{
|
|
|
Phone: loginToken.Account,
|
|
|
Phone: loginToken.Account,
|
|
|
UserType: domain.UserTypeEmployee,
|
|
|
})
|
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.BUSINESS_ERROR, "用户信息获取失败,"+err.Error())
|
...
|
...
|
|