2021与蓝度共同重构项目,服务端
fix
zhanzhiqin
2022-04-22 7c92a9851eb6bf90e3bb9e2a5059b83f12564b85
ximon-admin/src/main/java/com/sandu/ximon/admin/controller/AdminController.java
@@ -246,7 +246,14 @@
    @Log("后台用户修改密码")
    @PutMapping("/updateMyPassword")
    public ResponseVO<Object> updateMyPassword(@Validated @RequestBody PwdParam param) {
        boolean result = adminService.updateMyPassword(param);
        boolean result;
        if (SecurityUtils.getClientId() == null) {
            result = adminService.updateMyPassword(param);
        } else {
            result = clientService.resetPassword(param);
        }
        if (result) {
            return ResponseUtil.success("修改成功");
        } else {