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 {