From 0b80679aa07443ec4f3b28a6fceb016a416fc81f Mon Sep 17 00:00:00 2001 From: jhc Date: Fri, 28 Mar 2025 19:07:20 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=BE=E7=BD=B2=E6=96=87=E4=BB=B6=E8=8F=B2?= =?UTF-8?q?=E7=A2=A7=E5=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- go.mod | 4 ++-- pkg/service/bundle/bundleOrder.go | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index d564e6c..9fa0056 100644 --- a/go.mod +++ b/go.mod @@ -17,8 +17,8 @@ go 1.18 //github.com/fonchain_enterprise/utils/ipAddrQuery => ../utils/ipAddrQuery //github.com/fonchain_enterprise/utils/jwt => ../utils/jwt //github.com/fonchain_enterprise/utils/logger => ../utils/logger -//replace github.com/fonchain_enterprise/utils/objstorage => ../../tyfon-新/utils/objstorage -replace github.com/fonchain_enterprise/utils/objstorage => ../utils/objstorage +replace github.com/fonchain_enterprise/utils/objstorage => ../../tyfon-新/utils/objstorage +//replace github.com/fonchain_enterprise/utils/objstorage => ../utils/objstorage require ( dubbo.apache.org/dubbo-go/v3 v3.0.2 diff --git a/pkg/service/bundle/bundleOrder.go b/pkg/service/bundle/bundleOrder.go index 72f7088..709aedf 100644 --- a/pkg/service/bundle/bundleOrder.go +++ b/pkg/service/bundle/bundleOrder.go @@ -29,10 +29,12 @@ func CreateBundleOrderSignature(c *gin.Context) { service.Error(c, errors.New(common.MissBundleUUID)) return } - if req.Signature == "" { + + // 不去校验 签名 + /*if req.Signature == "" { service.Error(c, errors.New(common.MissOrderSignature)) return - } + }*/ // 获取 用户信息 userInfo := login.GetUserInfoFromC(c)