wangxiaodong 3 years ago
parent
commit
a7c3a50972
1 changed files with 2 additions and 2 deletions
  1. 2 2
      application/loan/controller/User.php

+ 2 - 2
application/loan/controller/User.php

@@ -107,9 +107,9 @@ class User extends Controller
 
         }elseif($this->request->isPost()){
 
-            if (strlen($data['phone']) != 11){
+            /*if (strlen($data['phone']) != 11){
                 $this->error('手机格式不正确');
-            }
+            }*/
             if (empty($data['id'])){
                 $data['add_time'] = date('Y-m-d H:i:s',time());
             }