|
|
|
@ -17,6 +17,7 @@ import org.springframework.web.bind.annotation.RequestMethod; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
/** |
|
|
|
* @author 逗 |
|
|
|
@ -45,6 +46,14 @@ public class RoleController { |
|
|
|
return JsonResponse.newInstance().ok(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@MustLogin |
|
|
|
@ApiOperation(value = "查询角色下的所有成员", notes = "") |
|
|
|
@RequestMapping(value = "/queryMemberOfRole", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
|
public JsonResponse<List<CRoleVo.MemberOfRoleInfo>> queryMemberOfRole(@ApiParam @Validated @RequestBody QueryDto<CRoleDto.QueryMemberOfRole> params) { |
|
|
|
log.info("查询角色下的所有成员开始{}",params); |
|
|
|
List<CRoleVo.MemberOfRoleInfo> member = roleService.queryMemberOfRole(params.getParam(),params.getUserId()); |
|
|
|
log.info("查询角色下的所有成员开始{}",params); |
|
|
|
return JsonResponse.newInstance().ok(member); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|