dever %!s(int64=6) %!d(string=hai) anos
pai
achega
eff73727b1
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  1. 7 1
      src/Reg.php

+ 7 - 1
src/Reg.php

@@ -78,7 +78,13 @@ class Reg extends Base
      */
     public function checkMobileExist()
     {
-        $mobile = $this->checkMobileExists(1);
+        $param['option_mobile'] = $this->checkMobile();
+
+        $user = Dever::db('passport/user')->one($param);
+
+        if (!$user) {
+            Dever::alert('该手机号未注册');
+        }
 
         return 'ok';
     }