统计:Review修改

This commit is contained in:
owen
2023-10-16 22:03:36 +08:00
parent 7b9ea62e6b
commit cd4b4cd322
6 changed files with 20 additions and 13 deletions

View File

@ -1,6 +1,12 @@
import request from '@/config/axios'
/** 支付统计 */
export interface PaySummaryRespVO {
/** 充值金额,单位分 */
rechargePrice: number
}
/** 获取钱包充值金额 */
export const getWalletRechargePrice = async () => {
return await request.get<number>({ url: `/statistics/pay/wallet-recharge-price` })
return await request.get<PaySummaryRespVO>({ url: `/statistics/pay/summary` })
}