This commit is contained in:
wucongxing8150 2024-09-05 15:11:22 +08:00
parent 0733781875
commit 7e9afc1010

View File

@ -420,12 +420,6 @@ func (b *OrderSingle) PutOrderSingleAnswer(c *gin.Context) {
return
}
// 检测订单支付状态
if orderSingle.PayStatus != 2 {
responses.FailWithMessage("订单未完成支付", c)
return
}
// 检测订单退款状态
if orderSingle.RefundStatus != 0 {
responses.FailWithMessage("订单存在退款", c)