diff --git a/controller/topup.go b/controller/topup.go index 35e6b97..961ffa2 100644 --- a/controller/topup.go +++ b/controller/topup.go @@ -155,7 +155,7 @@ func EpayNotify(c *gin.Context) { return } log.Printf("易支付回调更新用户成功 %v", topUp) - model.RecordLog(topUp.UserId, model.LogTypeTopup, fmt.Sprintf("使用在线充值成功,充值金额: %v,支付金额:%d", common.LogQuota(topUp.Amount*500000), topUp.Money)) + model.RecordLog(topUp.UserId, model.LogTypeTopup, fmt.Sprintf("使用在线充值成功,充值金额: %v,支付金额:%f", common.LogQuota(topUp.Amount*500000), topUp.Money)) } } else { log.Printf("易支付异常回调: %v", verifyInfo)