소스 검색

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

kevin 2 년 전
부모
커밋
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;