| | |
| | | } |
| | | } |
| | | |
| | | @PostMapping("/resetClientPassword") |
| | | public ResponseVO<Object> resetClientPassword(@RequestBody @Validated ResetClientPasswordPrarm resetClientPasswordPrarm) { |
| | | boolean b = clientService.resetPassword(resetClientPasswordPrarm); |
| | | if (b) { |
| | | return ResponseUtil.success("修改成功"); |
| | | } else { |
| | | return ResponseUtil.fail("修改失败"); |
| | | } |
| | | } |
| | | // @PostMapping("/resetClientPassword") |
| | | // public ResponseVO<Object> resetClientPassword(@RequestBody @Validated ResetClientPasswordPrarm resetClientPasswordPrarm) { |
| | | // boolean b = clientService.resetPassword(resetClientPasswordPrarm); |
| | | // if (b) { |
| | | // return ResponseUtil.success("修改成功"); |
| | | // } else { |
| | | // return ResponseUtil.fail("修改失败"); |
| | | // } |
| | | // } |
| | | |
| | | @PostMapping("/delete/{id}") |
| | | public ResponseVO<Object> deleteClient(@PathVariable Long id) { |