This commit is contained in:
蒋海成 2025-05-09 16:15:15 +08:00
parent 205459e15c
commit ea593f9ba7
2 changed files with 6 additions and 4 deletions

4
go.mod
View File

@ -17,9 +17,9 @@ go 1.18
//github.com/fonchain_enterprise/utils/ipAddrQuery => ../utils/ipAddrQuery //github.com/fonchain_enterprise/utils/ipAddrQuery => ../utils/ipAddrQuery
//github.com/fonchain_enterprise/utils/jwt => ../utils/jwt //github.com/fonchain_enterprise/utils/jwt => ../utils/jwt
//github.com/fonchain_enterprise/utils/logger => ../utils/logger //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 ( require (
dubbo.apache.org/dubbo-go/v3 v3.0.2 dubbo.apache.org/dubbo-go/v3 v3.0.2

View File

@ -312,13 +312,15 @@ func UpdateFinancialConfirmationStatus(c *gin.Context) {
return return
} }
res, err := service.BundleProvider.OrderRecordsDetail(context.Background(), &req) detail, err := service.BundleProvider.OrderRecordsDetail(context.Background(), &bundle.OrderRecordsDetailRequest{
OrderNo: req.OrderNo,
})
if err != nil { if err != nil {
service.Error(c, err) service.Error(c, err)
return return
} }
if res.OrderRecord.Status != 2 { if detail.OrderRecord.Status != 2 {
service.Error(c, errors.New("订单未支付,不可确认")) service.Error(c, errors.New("订单未支付,不可确认"))
return return
} }