feat:充值/扣款发票申请页面
This commit is contained in:
1 parent
8520bdb639
commit
8cf2fbcfea
3 files changed
+325
No files matched your search
@@ -0,0 +1,52 @@
|
||||
import request from "/@/utils/request"
|
||||
|
||||
/**
|
||||
* 根据申请id获取发票详情
|
||||
* @param id 申请id
|
||||
*/
|
||||
export function getInvoice(query: any) {
|
||||
return request({
|
||||
url: "/wallet/walletRechargeInvoice/get-invoice",
|
||||
method: "get",
|
||||
params: query,
|
||||
})
|
||||
}
|
||||
|
||||
export function fetchList(query?: Object) {
|
||||
return request({
|
||||
url: "/wallet/walletRechargeInvoice/page",
|
||||
method: "get",
|
||||
params: query,
|
||||
})
|
||||
}
|
||||
|
||||
export function addObj(obj?: Object) {
|
||||
return request({
|
||||
url: "/wallet/walletRechargeInvoice",
|
||||
method: "post",
|
||||
data: obj,
|
||||
})
|
||||
}
|
||||
|
||||
export function getObj(id?: string) {
|
||||
return request({
|
||||
url: "/wallet/walletRechargeInvoice/" + id,
|
||||
method: "get",
|
||||
})
|
||||
}
|
||||
|
||||
export function delObjs(ids?: Object) {
|
||||
return request({
|
||||
url: "/wallet/walletRechargeInvoice",
|
||||
method: "delete",
|
||||
data: ids,
|
||||
})
|
||||
}
|
||||
|
||||
export function putObj(obj?: Object) {
|
||||
return request({
|
||||
url: "/wallet/walletRechargeInvoice",
|
||||
method: "put",
|
||||
data: obj,
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user