1
0

用户注销

This commit is contained in:
2025-08-01 09:58:33 +08:00
parent 2cb4f5b83e
commit 4271085e78
4 changed files with 178 additions and 14 deletions

View File

@ -92,7 +92,14 @@ public class AppAuthController {
}
/**
* 用户注销
*/
@DeleteMapping("/cancelAccount")
public R<Void> cancelAccount() {
loginService.cancelAccount();
return R.ok("用户注销成功");
}
/**
* 退出登录