diff --git a/pkg/service/bundle/pay.go b/pkg/service/bundle/pay.go index 2d780d7..f6dcef1 100644 --- a/pkg/service/bundle/pay.go +++ b/pkg/service/bundle/pay.go @@ -478,7 +478,7 @@ func CreateAntomPay(c *gin.Context) { UserName: userInfo.Name, UserTel: userInfo.TelNum, BundleName: bundleName, - PayAmount: float32(req.ProductAllPrice), + PayAmount: float32(req.ProductAllPrice / 100), // 以后别用float存钱,无语 CurrencyType: int32(currencyType), PayStatus: 1, UserID: userInfo.ID,