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) } 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,