...
|
...
|
@@ -481,7 +481,7 @@ func (svr AuthService) getUserInfo(operator domain.Operator) (interface{}, error |
|
|
return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
|
|
|
}
|
|
|
var user = map[string]interface{}{
|
|
|
"userId": resultUser.UserBaseID,
|
|
|
"userId": resultUser.UserID,
|
|
|
//"userOpenId": fmt.Sprintf("%v",resultUser.UserBaseID),
|
|
|
"userInfo": map[string]interface{}{
|
|
|
"userName": resultUser.UserInfo.UserName,
|
...
|
...
|
@@ -505,7 +505,7 @@ func (svr AuthService) getUserInfo(operator domain.Operator) (interface{}, error |
|
|
}
|
|
|
|
|
|
var user = map[string]interface{}{
|
|
|
"userId": resultUser.UserBaseId,
|
|
|
"userId": resultUser.UserId,
|
|
|
"userType": resultUser.UserType,
|
|
|
"userCode": resultUser.UserCode,
|
|
|
"userInfo": map[string]interface{}{
|
...
|
...
|
|