init
This commit is contained in:
@@ -17,28 +17,34 @@ export function getAccountCash(id) {
|
||||
})
|
||||
}
|
||||
|
||||
// 新增用户提现记录
|
||||
export function addAccountCash(data) {
|
||||
export function accountCashSuccess(id) {
|
||||
return request({
|
||||
url: '/cai/accountCash',
|
||||
method: 'post',
|
||||
data: data
|
||||
url: '/cai/accountCash/success',
|
||||
method: 'get',
|
||||
params: {id}
|
||||
})
|
||||
}
|
||||
|
||||
// 修改用户提现记录
|
||||
export function updateAccountCash(data) {
|
||||
export function accountCashFail(id) {
|
||||
return request({
|
||||
url: '/cai/accountCash',
|
||||
method: 'put',
|
||||
data: data
|
||||
url: '/cai/accountCash/fail',
|
||||
method: 'get',
|
||||
params: {id}
|
||||
})
|
||||
}
|
||||
|
||||
// 删除用户提现记录
|
||||
export function delAccountCash(id) {
|
||||
export function accountCashClose(id) {
|
||||
return request({
|
||||
url: '/cai/accountCash/' + id,
|
||||
method: 'delete'
|
||||
url: '/cai/accountCash/close',
|
||||
method: 'get',
|
||||
params: {id}
|
||||
})
|
||||
}
|
||||
|
||||
export function accountCashBatchSuccess(ids) {
|
||||
return request({
|
||||
url: '/cai/accountCash/batchSuccess',
|
||||
method: 'get',
|
||||
params: {ids}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user