设置添加注销账号功能

This commit is contained in:
zhouyanli
2026-07-02 10:51:34 +08:00
parent 78fc468bc4
commit eea062ee2d
5 changed files with 231 additions and 3 deletions

View File

@@ -83,6 +83,10 @@ export const authChangePassword = (data) => {
export const authLogout = (data) => {
return post(`/api/resident/auth/logout`, data)
}
// 注销账号
export const authDeleteAccount = (data) => {
return post('/api/resident/auth/cancelAccount', data)
}
// 编辑房屋
export const upDateMyHouse = (data) => {
return putMethod(`/api/resident/my/house/${data.id}`, data)