upload project source code

This commit is contained in:
2026-04-30 18:49:43 +08:00
commit 9b394ba682
2277 changed files with 660945 additions and 0 deletions

View File

@@ -0,0 +1,66 @@
import { l as httpRequest } from "./index.CMd5bD1r.js";
const API_PATH = "/yifan/yifan_membership";
const YifanMembershipAPI = {
getDiscountConfig() {
return httpRequest({
url: `${API_PATH}/discount-config`,
method: "get"
});
},
updateDiscountConfig(body) {
return httpRequest({
url: `${API_PATH}/discount-config`,
method: "put",
data: body
});
},
getServicePriceConfig() {
return httpRequest({
url: `${API_PATH}/service-price-config`,
method: "get"
});
},
updateServicePriceConfig(body) {
return httpRequest({
url: `${API_PATH}/service-price-config`,
method: "put",
data: body
});
},
getMemberList(query) {
return httpRequest({
url: `${API_PATH}/member-list`,
method: "get",
params: query
});
},
getOperationRecords(query) {
return httpRequest({
url: `${API_PATH}/operation-records`,
method: "get",
params: query
});
},
adjustQuota(body) {
return httpRequest({
url: `${API_PATH}/quota/adjust`,
method: "put",
data: body
});
},
getMyBenefits() {
return httpRequest({
url: `${API_PATH}/my-benefits`,
method: "get"
});
},
consumeDailyDetect() {
return httpRequest({
url: `${API_PATH}/daily-detect/consume`,
method: "post"
});
}
};
export {
YifanMembershipAPI as Y
};