This commit is contained in:
dzc committed 2024-11-11 14:42:47 +08:00
commit 7d450caf77
146 files changed
+39809

No files matched your search

+84
View File
@@ -0,0 +1,84 @@
import request from "@/sheep/utils/request";
export default {
all: () =>
request({
url: "pay/wallet/get-all",
method: "GET",
custom: {
showLoading: false,
},
}),
detail: (params: any) =>
request({
url: "pay/wallet/detail",
method: "GET",
params,
custom: {
showLoading: false,
},
}),
bind: (data: any) =>
request({
url: "pay/wallet/bind-card",
method: "POST",
data,
custom: {
showLoading: false,
},
}),
freeze: (data: any) =>
request({
url: "pay/wallet/apply-freeze",
method: "POST",
data,
custom: {
showLoading: false,
},
}),
balanceDetail: (params: any) =>
request({
url: "pay/wallet/get-id",
method: "GET",
params,
custom: {
showLoading: false,
},
}),
transaction: (params: any) =>
request({
url: "pay/wallet-transaction/page-by-id",
method: "GET",
params,
custom: {
showLoading: false,
},
}),
summary: (params: any) =>
request({
url: "pay/wallet-transaction/get-summary-by-id",
method: "GET",
params,
custom: {
showLoading: false,
},
}),
rechargeList: (params: any) =>
request({
url: "pay/wallet-recharge-package/list",
method: "GET",
params,
custom: {
showLoading: false,
},
}),
recharge: (data: any) =>
request({
url: "pay/wallet-recharge/create",
method: "POST",
data,
custom: {
showLoading: false,
},
}),
};