dever %!s(int64=3) %!d(string=hai) anos
pai
achega
0d8a8f6d5f
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      app/shop/lib/Refund.php

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

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