This commit is contained in:
dute7liang
2024-01-03 21:15:31 +08:00
parent 0a98db72f0
commit 9e4b1fbe0a
5 changed files with 204 additions and 23 deletions

View File

@@ -17,28 +17,11 @@ export function getAccount(id) {
})
}
// 新增用户账户
export function addAccount(data) {
// 修改用户账户
export function updateAccountCoin(data) {
return request({
url: '/cai/account',
url: '/cai/account/updateCoin',
method: 'post',
data: data
})
}
// 修改用户账户
export function updateAccount(data) {
return request({
url: '/cai/account',
method: 'put',
data: data
})
}
// 删除用户账户
export function delAccount(id) {
return request({
url: '/cai/account/' + id,
method: 'delete'
})
}