Explorar el Código

小程序登录增加短信验证码登录

kevin hace 1 año
padre
commit
724e1e9f78
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/api/model/user/UserOpen.php

+ 1 - 1
app/api/model/user/UserOpen.php

@@ -397,8 +397,8 @@ class UserOpen extends UserModel
             }
 
             $user = $this->where('user_no', $data['user_no'])->find();
-            $data['mobile'] = $user['mobile'];
         }
+        $data['mobile'] = $user['mobile'];
 
         if (!$this->check($data)) {
             return false;