mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-09-22 05:16:39 +08:00
v1.1.0
This commit is contained in:
parent
a34f5d5afa
commit
e540cd75cc
@ -17,6 +17,3 @@ sa/123456
|
||||
LoginService.getSession
|
||||
|
||||
7 test类中去掉代码生成run
|
||||
|
||||
8 RoleController 更新角色
|
||||
updateRole
|
||||
|
@ -85,8 +85,8 @@ public class EmployeeController {
|
||||
@PostMapping("/employee/updatePwd")
|
||||
public ResponseDTO<String> updatePwd(@Valid @RequestBody EmployeeUpdatePwdDTO updatePwdDTO) {
|
||||
RequestTokenBO requestToken = SmartRequestTokenUtil.getRequestUser();
|
||||
// return employeeService.updatePwd(updatePwdDTO, requestToken);
|
||||
return ResponseDTO.succ();
|
||||
return employeeService.updatePwd(updatePwdDTO, requestToken);
|
||||
// return ResponseDTO.succ();
|
||||
}
|
||||
|
||||
@ApiOperation(value = "通过部门id获取当前部门的人员&没有部门的人", notes = "@author yandanyang")
|
||||
|
@ -42,8 +42,7 @@ public class RoleController {
|
||||
@ApiOperation(value = "更新角色", notes = "更新角色")
|
||||
@PostMapping("/role/update")
|
||||
public ResponseDTO<String> updateRole(@Valid @RequestBody RoleUpdateDTO roleUpdateDTO) {
|
||||
// return roleService.updateRole(roleUpdateDTO);
|
||||
return ResponseDTO.succ();
|
||||
return roleService.updateRole(roleUpdateDTO);
|
||||
}
|
||||
|
||||
@ApiOperation(value = "获取角色数据", notes = "根据id获取角色数据")
|
||||
|
Loading…
Reference in New Issue
Block a user