修改
This commit is contained in:
parent
205459e15c
commit
ea593f9ba7
4
go.mod
4
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
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user