Browse Source

1.StaffRoleController内方法 url大小写调整

dev_shibei_match
wxz 5 years ago
parent
commit
49018cbcc9
  1. 2
      epmet-module/gov-mine/gov-mine-server/src/main/java/com/epmet/feign/EpmetUserFeignClient.java
  2. 2
      epmet-user/epmet-user-server/src/main/java/com/epmet/controller/StaffRoleController.java

2
epmet-module/gov-mine/gov-mine-server/src/main/java/com/epmet/feign/EpmetUserFeignClient.java

@ -32,7 +32,7 @@ public interface EpmetUserFeignClient {
* 查询工作人员的角色 * 查询工作人员的角色
* @return * @return
*/ */
@PostMapping("/epmetuser/staffrole/staffRoles") @PostMapping("/epmetuser/staffrole/staffroles")
Result<List<GovStaffRoleDTO>> getRolesOfStaff(StaffRoleFormDTO staffRoleFormDTO); Result<List<GovStaffRoleDTO>> getRolesOfStaff(StaffRoleFormDTO staffRoleFormDTO);
} }

2
epmet-user/epmet-user-server/src/main/java/com/epmet/controller/StaffRoleController.java

@ -35,7 +35,7 @@ public class StaffRoleController {
* 根据工作人员查询工作人员具有的角色列表 * 根据工作人员查询工作人员具有的角色列表
* @return * @return
*/ */
@PostMapping("staffRoles") @PostMapping("staffroles")
public Result<List<GovStaffRoleDTO>> getRolesOfStaff(@RequestBody StaffRoleFormDTO staffRoleFormDTO) { public Result<List<GovStaffRoleDTO>> getRolesOfStaff(@RequestBody StaffRoleFormDTO staffRoleFormDTO) {
ValidatorUtils.validateEntity(staffRoleFormDTO); ValidatorUtils.validateEntity(staffRoleFormDTO);
String staffId = staffRoleFormDTO.getStaffId(); String staffId = staffRoleFormDTO.getStaffId();

Loading…
Cancel
Save