This commit is contained in:
邹宗楠
2026-01-16 21:57:22 +08:00
parent 0a8a2ef523
commit a0fed83084
13 changed files with 58209 additions and 57693 deletions

View File

@@ -648,3 +648,15 @@ func (c *DeliveryHandler) GetDeliverLiquidatedDamages(orderId string, deliverId
//}
//return vendorPrice, nil
}
func (c *DeliveryHandler) GetPlatformBalance() (balance int64, err error) {
return api.DadaAPI.QueryBillBalance()
}
func (c *DeliveryHandler) BalanceRecharge(param *utils.RechargeBalance) (url string, err error) {
return api.DadaAPI.BalanceRecharge(&dadaapi.RechargeParam{
Amount: param.Amount,
Category: param.Category,
NotifyUrl: param.NotifyUrl,
})
}