addanalysis
This commit is contained in:
@@ -130,6 +130,12 @@ export namespace AgentApi {
|
||||
withdraw_no?: string;
|
||||
}
|
||||
|
||||
// 提现统计数据
|
||||
export interface WithdrawalStatistics {
|
||||
total_withdrawal_amount: number;
|
||||
today_withdrawal_amount: number;
|
||||
}
|
||||
|
||||
// 代理上级抽佣相关接口
|
||||
export interface AgentCommissionDeductionListItem {
|
||||
id: number;
|
||||
@@ -446,6 +452,15 @@ async function updateAgentMembershipConfig(
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取提现统计数据
|
||||
*/
|
||||
async function getWithdrawalStatistics() {
|
||||
return requestClient.get<AgentApi.WithdrawalStatistics>(
|
||||
'/agent/agent-withdrawal/statistics',
|
||||
);
|
||||
}
|
||||
|
||||
export {
|
||||
getAgentCommissionDeductionList,
|
||||
getAgentCommissionList,
|
||||
@@ -457,6 +472,7 @@ export {
|
||||
getAgentRewardList,
|
||||
getAgentWithdrawalList,
|
||||
getMembershipRechargeOrderList,
|
||||
getWithdrawalStatistics,
|
||||
updateAgentMembershipConfig,
|
||||
updateAgentProductionConfig,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user