|
@ -33,6 +33,7 @@ public class RoleController { |
|
|
@ApiOperation(value = "根据项目id查找角色", notes = "") |
|
|
@ApiOperation(value = "根据项目id查找角色", notes = "") |
|
|
@RequestMapping(value = "/show", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
@RequestMapping(value = "/show", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
public JsonResponse<CRoleVo.QueryRole> queryByProjectId(@ApiParam @Validated @RequestBody QueryDto<CRoleDto.QueryRoleById> params) { |
|
|
public JsonResponse<CRoleVo.QueryRole> queryByProjectId(@ApiParam @Validated @RequestBody QueryDto<CRoleDto.QueryRoleById> params) { |
|
|
|
|
|
params.getParam().setNum(0); |
|
|
CRoleVo.QueryRole queryRole = roleService.queryShowRole(params.getParam(), params.getUserId()); |
|
|
CRoleVo.QueryRole queryRole = roleService.queryShowRole(params.getParam(), params.getUserId()); |
|
|
return JsonResponse.newInstance().ok(queryRole); |
|
|
return JsonResponse.newInstance().ok(queryRole); |
|
|
} |
|
|
} |
|
|