Explorar o código

搜索手机尾号

shish hai 1 ano
pai
achega
e3d5de93a8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app-ghs/controllers/CustomController.php

+ 1 - 1
app-ghs/controllers/CustomController.php

@@ -628,7 +628,7 @@ class CustomController extends BaseController
         }
         }
         $name = trim($name);
         $name = trim($name);
         if (!empty($name)) {
         if (!empty($name)) {
-            if (is_numeric($name) && strlen($name) > 4) {
+            if (is_numeric($name)) {
                 if (stringUtil::isMobile($name)) {
                 if (stringUtil::isMobile($name)) {
                     $where['mobile'] = $name;
                     $where['mobile'] = $name;
                 } else {
                 } else {