Browse Source

add 沉默号过滤

stanley-king 3 years ago
parent
commit
346cc8bb71
1 changed files with 2 additions and 1 deletions
  1. 2 1
      helper/mtopcard/mtopcard.php

+ 2 - 1
helper/mtopcard/mtopcard.php

@@ -252,7 +252,8 @@ function valid_phone($card_no)
     $validate_checker = function ($status)
     {
         // "status": 1 //状态 0:空号;1:实号;2:停机;3:库无;4:沉默号;5:风险号
-        if (in_array($status, [0,5])) {
+        Log::record("status={$status}",Log::DEBUG);
+        if (in_array($status, [0,4,5])) {
             return false;
         } else {
             return true;