|
@@ -150,4 +150,16 @@ public class SystemController {
|
|
public IPage<PasUserVO> getPASAssignedUser(@RequestBody PasUserDTO pasUserDTO) {
|
|
public IPage<PasUserVO> getPASAssignedUser(@RequestBody PasUserDTO pasUserDTO) {
|
|
return systemService.getPASAssignedUser(pasUserDTO);
|
|
return systemService.getPASAssignedUser(pasUserDTO);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ @GetMapping("/setPassword")
|
|
|
|
+ @Operation(summary = "修改密码")
|
|
|
|
+ public String setPassword(Integer id ,String password) {
|
|
|
|
+ Boolean flag = systemService.setPassword( id ,password);
|
|
|
|
+ if (flag){
|
|
|
|
+ return Response.success();
|
|
|
|
+ }
|
|
|
|
+ else return Response.error();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|