diff --git a/go.mod b/go.mod index e7e04d3..f6dbc87 100644 --- a/go.mod +++ b/go.mod @@ -17,9 +17,9 @@ 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 => ../../tyfon-新/utils/objstorage -replace github.com/fonchain_enterprise/utils/objstorage => ../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 dd694e6..bca17d8 100644 --- a/pkg/service/bundle/bundleOrder.go +++ b/pkg/service/bundle/bundleOrder.go @@ -312,13 +312,15 @@ func UpdateFinancialConfirmationStatus(c *gin.Context) { return } - res, err := service.BundleProvider.OrderRecordsDetail(context.Background(), &req) + detail, err := service.BundleProvider.OrderRecordsDetail(context.Background(), &bundle.OrderRecordsDetailRequest{ + OrderNo: req.OrderNo, + }) if err != nil { service.Error(c, err) return } - if res.OrderRecord.Status != 2 { + if detail.OrderRecord.Status != 2 { service.Error(c, errors.New("订单未支付,不可确认")) return }