stanley-king 3 年之前
父節點
當前提交
a385afd091
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      helper/mtopcard/mtopcard.php

+ 1 - 1
helper/mtopcard/mtopcard.php

@@ -291,7 +291,7 @@ function valid_phone($phone) : bool
     {
         // "status": 1 //状态 0:空号;1:实号;2:停机;3:库无;4:沉默号;5:风险号
         $status = intval($resp['data']['status']);
-        if (in_array($status, [0,4,5])) {
+        if (in_array($status, [0,5])) {
             Log::record("valid_phone phone:{$phone}, status : {$status}", Log::DEBUG);
             return false;
         } else {