refactor: 抽象操作日志模块

This commit is contained in:
陈淳
2023-02-22 16:49:24 +08:00
parent fa4e0b3752
commit 99aa7d3361
43 changed files with 415 additions and 212 deletions

View File

@@ -69,7 +69,7 @@ export function changeUserStatus(userId, isDel) {
// 查询用户个人信息
export function getUserProfile() {
return request({
url: '/account/getUserAllInfo',
url: '/account',
method: 'get'
})
}
@@ -77,9 +77,9 @@ export function getUserProfile() {
// 修改用户个人信息
export function updateUserProfile(data) {
return request({
url: '/user/UpdateProfile',
url: `/user/profile`,
method: 'put',
data: { user: data }
data: data
})
}