作者 yangfu

增加用户类型

@@ -499,6 +499,7 @@ func (svr AuthService) getUserInfo(operator domain.Operator) (interface{}, error @@ -499,6 +499,7 @@ func (svr AuthService) getUserInfo(operator domain.Operator) (interface{}, error
499 var user = map[string]interface{}{ 499 var user = map[string]interface{}{
500 "userId": resultUser.UserBaseId, 500 "userId": resultUser.UserBaseId,
501 //"publicUserId":fmt.Sprintf("%v",resultUser.UserBaseId), 501 //"publicUserId":fmt.Sprintf("%v",resultUser.UserBaseId),
  502 + "userType": resultUser.UserType,
502 "userCode": resultUser.UserCode, 503 "userCode": resultUser.UserCode,
503 "userInfo": map[string]interface{}{ 504 "userInfo": map[string]interface{}{
504 "userName": resultUser.UserInfo.UserName, 505 "userName": resultUser.UserInfo.UserName,