作者 yangfu

角色用户修改

@@ -266,12 +266,13 @@ func (rolesService *RolesService) RoleUserDelete(roleUserDeleteCommand *command. @@ -266,12 +266,13 @@ func (rolesService *RolesService) RoleUserDelete(roleUserDeleteCommand *command.
266 return roleUserDeleteCommand, err 266 return roleUserDeleteCommand, err
267 } 267 }
268 268
269 -// 角色下关联用户的数据 (暂时不需要这个) 269 +// 角色下关联用户的数据
270 func (rolesService *RolesService) RoleUserInfo(roleUserInfoQuery *query.RoleUserInfoQuery) (interface{}, error) { 270 func (rolesService *RolesService) RoleUserInfo(roleUserInfoQuery *query.RoleUserInfoQuery) (interface{}, error) {
271 creationUserGateway := allied_creation_user.NewHttplibAlliedCreationUser( 271 creationUserGateway := allied_creation_user.NewHttplibAlliedCreationUser(
272 roleUserInfoQuery.Operator) 272 roleUserInfoQuery.Operator)
273 relatedUser, err := creationUserGateway.RoleGetRelatedUser(allied_creation_user.ReqRoleGetRelatedUser{ 273 relatedUser, err := creationUserGateway.RoleGetRelatedUser(allied_creation_user.ReqRoleGetRelatedUser{
274 RoleId: roleUserInfoQuery.RoleId, 274 RoleId: roleUserInfoQuery.RoleId,
  275 + OrgId: roleUserInfoQuery.Operator.OrgId,
275 }) 276 })
276 if err != nil { 277 if err != nil {
277 return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error()) 278 return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())