...
|
...
|
@@ -80,10 +80,7 @@ class Login extends Base |
|
|
if($moblie){
|
|
|
Db::name("user")->where("id", $user_id)->update(["mobile" => $moblie]);
|
|
|
$res=$this->auth->direct($user_id);
|
|
|
print_r($this->auth->id);return;
|
|
|
|
|
|
$return_data = $this->auth->getUserinfo();
|
|
|
|
|
|
$this->success('查询用户信息成功',$return_data);
|
|
|
}else{
|
|
|
$this->error("无法获取手机号,登录失败");
|
...
|
...
|
|