feat(user): 添加用户修改密码功能

- 在前端 HomePage 组件中添加修改密码对话框
- 在 API 中添加 updatePassword 接口
- 在后端 UserController 中添加密码更新接口
- 在 UserService 中添加 updatePassword 方法
- 实现密码更新逻辑,包括旧密码验证和新密码加密
This commit is contained in:
ikmkj
2025-08-01 20:20:17 +08:00
parent df80ca6968
commit 165bd5ea92
8 changed files with 144 additions and 6 deletions

View File

@@ -0,0 +1,12 @@
package com.test.bijihoudaun.common.exception;
public class BusinessException extends RuntimeException {
public BusinessException(String message) {
super(message);
}
public BusinessException(String message, Throwable cause) {
super(message, cause);
}
}