forked from dyf/fys-Multi-tenant
用户注销
This commit is contained in:
@ -92,7 +92,14 @@ public class AppAuthController {
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 用户注销
|
||||
*/
|
||||
@DeleteMapping("/cancelAccount")
|
||||
public R<Void> cancelAccount() {
|
||||
loginService.cancelAccount();
|
||||
return R.ok("用户注销成功");
|
||||
}
|
||||
|
||||
/**
|
||||
* 退出登录
|
||||
|
Reference in New Issue
Block a user