第一次提交
This commit is contained in:
24
api/merchant-withdraw.js
Normal file
24
api/merchant-withdraw.js
Normal file
@@ -0,0 +1,24 @@
|
||||
import http from './index.js';
|
||||
|
||||
// 分页查询提现明细
|
||||
export const pageMerchantWithdraw = (params) => http.get('/shop/merchant-withdraw/page', {params})
|
||||
|
||||
// 查询全部提现明细
|
||||
export const listMerchantWithdraw = (params) => http.get('/shop/merchant-withdraw', {params})
|
||||
|
||||
// 获取提现明细
|
||||
export const getMerchantWithdraw = (id) => http.get('/shop/merchant-withdraw/page', {id})
|
||||
|
||||
// 添加提现明细
|
||||
export const addMerchantWithdraw = (data) => http.post('/shop/merchant-withdraw', data)
|
||||
|
||||
// 修改提现明细
|
||||
export const updateMerchantWithdraw = (data) => http.put('/shop/merchant-withdraw/', data)
|
||||
|
||||
export default {
|
||||
pageMerchantWithdraw,
|
||||
listMerchantWithdraw,
|
||||
getMerchantWithdraw,
|
||||
addMerchantWithdraw,
|
||||
updateMerchantWithdraw
|
||||
}
|
||||
Reference in New Issue
Block a user