|
@@ -163,7 +163,7 @@ export interface PromoterInfo {
|
|
|
tally_time: number;
|
|
|
is_op: boolean;
|
|
|
remark: string;
|
|
|
- list: { count: number; conf: PromoterItem[]; condition: PromoterCondition };
|
|
|
+ list: { count: number; conf: PromoterItem[]; condition: PromoterCondition; total: number };
|
|
|
}
|
|
|
|
|
|
export interface PromoterCondition {
|
|
@@ -207,9 +207,9 @@ export interface ChildItem {
|
|
|
}
|
|
|
|
|
|
export const getPromoteList = async () => {
|
|
|
- return (await import("@/mock/activety")).getPromotChild();
|
|
|
+ // return (await import("@/mock/activety")).getPromotChild();
|
|
|
|
|
|
- // return server.post<ChildItem[]>({
|
|
|
- // url: "/v1/api/user/activity/childPromoterList",
|
|
|
- // });
|
|
|
+ return server.post<ChildItem[]>({
|
|
|
+ url: "/v1/api/user/activity/childPromoterList",
|
|
|
+ });
|
|
|
};
|