|
@@ -774,7 +774,7 @@ func (this *OrderController) Refund() {
|
|
br.ErrMsg = "退款失败,原订单非支付订单"
|
|
br.ErrMsg = "退款失败,原订单非支付订单"
|
|
return
|
|
return
|
|
}
|
|
}
|
|
- if tradeOrder.PaymentStatus == models.PaymentStatusDone {
|
|
|
|
|
|
+ if tradeOrder.PaymentStatus != models.PaymentStatusDone {
|
|
br.Msg = "退款失败,原订单未完成支付"
|
|
br.Msg = "退款失败,原订单未完成支付"
|
|
br.ErrMsg = "退款失败,原订单未完成支付"
|
|
br.ErrMsg = "退款失败,原订单未完成支付"
|
|
return
|
|
return
|