修改
This commit is contained in:
parent
135c77c3b3
commit
a257d6737e
@ -312,6 +312,17 @@ func UpdateFinancialConfirmationStatus(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
res, err := service.BundleProvider.OrderRecordsDetail(context.Background(), &req)
|
||||
if err != nil {
|
||||
service.Error(c, err)
|
||||
return
|
||||
}
|
||||
|
||||
if res.OrderRecord.Status != 2 {
|
||||
service.Error(c, errors.New("订单未支付,不可确认"))
|
||||
return
|
||||
}
|
||||
|
||||
res, err := service.BundleProvider.UpdateFinancialConfirmationStatus(context.Background(), &req)
|
||||
if err != nil {
|
||||
service.Error(c, err)
|
||||
|
Loading…
Reference in New Issue
Block a user