Parcourir la source

增加系统配置接口

kobe6258 il y a 4 mois
Parent
commit
560b8c722b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      controllers/order.go

+ 1 - 1
controllers/order.go

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