Przeglądaj źródła

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

kevin 1 rok temu
rodzic
commit
724e1e9f78
1 zmienionych plików z 1 dodań i 1 usunięć
  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;