问题修复

This commit is contained in:
2025-11-21 17:21:24 +08:00
parent 97feb2c588
commit 798c4a4c74
11 changed files with 1045 additions and 19 deletions

View File

@@ -0,0 +1,77 @@
import http from "@/http/http.js";
const request = http.request;
const urlType = "market";
export function enable(params) {
return request({
url: urlType + `/admin/rechargeRedemption/enable`,
method: "PUT",
params: {
...params,
},
});
}
export function status(params) {
return request({
url: urlType + `/admin/rechargeRedemption/enable/status`,
method: "get",
params: {
...params,
},
});
}
export function couponRedemption(params) {
return request({
url: urlType + `/admin/rechargeRedemption`,
method: "get",
params: {
...params,
},
});
}
export function couponRedemptionList(params) {
return request({
url: urlType + `/admin/rechargeRedemption/list`,
method: "get",
params: {
...params,
},
});
}
export function add(params) {
return request({
url: urlType + `/admin/rechargeRedemption`,
method: "POST",
params: {
...params,
},
});
}
export function edit(params) {
return request({
url: urlType + `/admin/rechargeRedemption`,
method: "PUT",
params: {
...params,
},
});
}
export function codeList(params) {
return request({
url: urlType + `/admin/rechargeRedemption/code/list`,
method: "GET",
params: {
...params,
},
});
}
export function codeExport(params) {
return http.download({
url: urlType + `/admin/rechargeRedemption/code/export`,
method: "GET",
params: {
...params,
},
});
}