32 lines
1.0 KiB
JavaScript
32 lines
1.0 KiB
JavaScript
|
import request from "@/utils/request.js";
|
||
|
|
||
|
// 获得个人分销统计
|
||
|
export function getBrokerageUserSummary() {
|
||
|
return request.get('app-api/trade/brokerage-user/get-summary');
|
||
|
}
|
||
|
|
||
|
// 获得分销用户排行分页(基于用户量)
|
||
|
export function getBrokerageUserRankPageByUserCount(data) {
|
||
|
return request.get('app-api/trade/brokerage-user/rank-page-by-user-count', data);
|
||
|
}
|
||
|
|
||
|
// 获得分销用户排行(基于佣金)
|
||
|
export function getBrokerageUserRankByPrice(data) {
|
||
|
return request.get('app-api/trade/brokerage-user/get-rank-by-price', data);
|
||
|
}
|
||
|
|
||
|
// 获得分销用户排行分页(基于佣金)
|
||
|
export function getBrokerageUserRankPageByPrice(data) {
|
||
|
return request.get('app-api/trade/brokerage-user/rank-page-by-price', data);
|
||
|
}
|
||
|
|
||
|
// 获得分销提现分页记录
|
||
|
export function getBrokerageWithdrawPage(data) {
|
||
|
return request.get('app-api/trade/brokerage-withdraw/page', data);
|
||
|
}
|
||
|
|
||
|
// 获得分销记录分页
|
||
|
export function getBrokerageRecordPage(data) {
|
||
|
return request.get('app-api/trade/brokerage-record/page', data);
|
||
|
}
|