From 58abfab43472ea56ffb32941ba28ee36184d8169 Mon Sep 17 00:00:00 2001 From: zhoujunyao Date: Fri, 27 Jun 2025 15:50:17 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E5=A4=84=E7=90=86=E5=AF=B9=E8=B4=A6?= =?UTF-8?q?=E5=8D=95=E9=87=91=E9=A2=9D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/service/bundle/pay.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, From 6406396d7504f61e6a6963f28351ff5d6e0bd7d4 Mon Sep 17 00:00:00 2001 From: sxy <3187870250@qq.com> Date: Fri, 27 Jun 2025 15:59:28 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E8=AE=A4=E8=AF=81-1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/router/bundle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/router/bundle.go b/pkg/router/bundle.go index a3ade1d..577ffc6 100644 --- a/pkg/router/bundle.go +++ b/pkg/router/bundle.go @@ -56,11 +56,11 @@ func BundleRouter(r *gin.RouterGroup) { } bundleAppRouteV2 := bundleAppRoute.Group("app/system/v2") { - bundleAppRouteV2.POST("bundle-list", bundle.BundleListH5V2) bundleAppRouteV2.POST("add-value/only", bundle.OnlyAddValueListByOrderNo) } bundleAppNoAuthRouteV2 := bundleAppNoAuthRoute.Group("app/system/v2") { + bundleAppNoAuthRouteV2.POST("bundle-list", bundle.BundleListH5V2) bundleAppNoAuthRouteV2.POST("bundle-detail", bundle.BundleDetailV2) }