feat: 个人中心alpha阶段

This commit is contained in:
ray
2024-08-19 00:31:18 +08:00
parent 507bd46159
commit fd3f889f56
5 changed files with 11 additions and 7 deletions

View File

@@ -105,10 +105,11 @@ public interface SysUserService extends IService<SysUser> {
/**
* 修改个人中心用户信息
*
* @param userId 用户ID
* @param formData 表单数据
* @return
*/
boolean updateUserProfile(UserProfileForm formData);
boolean updateUserProfile(Long userId, UserProfileForm formData);
/**
* 修改用户密码
@@ -122,7 +123,7 @@ public interface SysUserService extends IService<SysUser> {
/**
* 重置用户密码
*
* @param userId 用户ID
* @param userId 用户ID
* @param password 重置后的密码
* @return
*/