个人中心修改密码2

This commit is contained in:
2025-09-18 15:25:32 +08:00
parent 11e48acc81
commit 1b2bf542fa
4 changed files with 18 additions and 5 deletions

View File

@ -1,6 +1,7 @@
package com.fuyuanshen.app.controller;
import com.fuyuanshen.app.model.AppRegisterBody;
import com.fuyuanshen.app.model.AppUpdatePasswordBody;
import com.fuyuanshen.app.service.AppLoginService;
import com.fuyuanshen.app.service.AppRegisterService;
import com.fuyuanshen.common.core.domain.R;
@ -38,7 +39,7 @@ public class AppUserCenterController {
* 修改密码
*/
@PostMapping("/updatePassword")
public R<Void> updatePassword(@Validated @RequestBody AppRegisterBody body) {
public R<Void> updatePassword(@Validated @RequestBody AppUpdatePasswordBody body) {
registerService.updatePassword(body);
return R.ok();
}