正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
@@ -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()) |
-
请 注册 或 登录 后发表评论