dever 3 年之前
父节点
当前提交
0d8a8f6d5f
共有 1 个文件被更改,包括 3 次插入0 次删除
  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'];
         # 退款到原支付账户 待处理