stanley-king 3 年之前
父節點
當前提交
783b491845
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      rdispatcher/proxy.php

+ 5 - 0
rdispatcher/proxy.php

@@ -29,6 +29,11 @@ class proxy
     public function add($params)
     {
         $order = refill\order::from_parameters($params);
+
+        if($order->is_black()) {
+            return $this->onEerror($order, '黑名单卡号');
+        }
+        
         $mchid = $order->mchid();
         $mch_order = $order->mch_order();