瀏覽代碼

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

kevin 1 年之前
父節點
當前提交
724e1e9f78
共有 1 個文件被更改,包括 1 次插入1 次删除
  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();
             $user = $this->where('user_no', $data['user_no'])->find();
-            $data['mobile'] = $user['mobile'];
         }
         }
+        $data['mobile'] = $user['mobile'];
 
 
         if (!$this->check($data)) {
         if (!$this->check($data)) {
             return false;
             return false;