ソースを参照

增加系统配置接口

kobe6258 4 ヶ月 前
コミット
560b8c722b
1 ファイル変更1 行追加1 行削除
  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