You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
86 lines
1.9 KiB
86 lines
1.9 KiB
10 months ago
|
import http from "@/utils/request";
|
||
|
|
||
|
export function getSpreadData() {
|
||
|
return http.get("/spread/spread_api", null, {
|
||
|
requireAuth: true
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export function getWithdrawalList(params) {
|
||
|
return http.get("/spread/get_withdrawal_list", params, {
|
||
|
requireAuth: true
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export function getSpreadGradeList() {
|
||
|
return http.get("/Spread/get_grade_list", null, {
|
||
|
requireAuth: true
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export function getSpecialSpread(params) {
|
||
|
return http.get("/Spread/getSpecialSpread", params, {
|
||
|
requireAuth: true
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export function getPosterSpecial(special_id) {
|
||
|
return http.get("/Spread/poster_special_api", { special_id }, {
|
||
|
requireAuth: true
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export function getMyPromoter() {
|
||
|
return http.get("/Spread/my_promoter_api", null, {
|
||
|
requireAuth: true
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export function getSpreadList(params) {
|
||
|
return http.get("/Spread/spread_list", params, {
|
||
|
requireAuth: true
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export function removeSpread(uid) {
|
||
|
return http.get("/Spread/remove_spread", { uid }, {
|
||
|
requireAuth: true
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export function getPosterSpread() {
|
||
|
return http.get("/Spread/poster_spread_api", null, {
|
||
|
requireAuth: true
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export function getCommissionData() {
|
||
|
return http.get("/Spread/commission_api", null, {
|
||
|
requireAuth: true
|
||
|
});
|
||
|
}
|
||
|
|
||
|
|
||
|
export function getSpreadCommissionList(params) {
|
||
|
return http.get("/Spread/get_spread_list", params, {
|
||
|
requireAuth: true
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export function getWithDrawData(data) {
|
||
|
return http.get("/Spread/withdraw_api", data, {
|
||
|
requireAuth: true
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export function saveWithDraw(data) {
|
||
|
return http.post("/Spread/save_withdraw", data, {
|
||
|
requireAuth: true
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export function getsave_promoter(params) {
|
||
|
return http.post("/Spread/save_promoter_api",params, {
|
||
|
requireAuth: false
|
||
|
});
|
||
|
}
|