dever 3 anni fa
parent
commit
0faa4ccc9f
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      app/shop/lib/Refund.php

+ 3 - 0
app/shop/lib/Refund.php

@@ -377,6 +377,9 @@ class Refund
         if (isset($data['type']) && $data['type'] > 1) {
             return;
         }
+        if (isset($data['pay_type']) && $data['pay_type'] > 1) {
+            return;
+        }
         $refund_cash = $info['cash'];
         $refund_order_id = $info['id'];
         # 退款到原支付账户 待处理