...
|
...
|
@@ -224,11 +224,8 @@ class WeChatBaseController extends BaseController |
|
|
$re=Db::name('users')->where(['open_id'=>session('wechat_user')['id']])->find();
|
|
|
if (!$re['mobile']){
|
|
|
$this->redirect(url('user/register/register'));
|
|
|
// }else{
|
|
|
// return $re;
|
|
|
}else{
|
|
|
session('wechat_user')['users_id']=$re['id'];
|
|
|
var_dump(session('wechat_user'));
|
|
|
return $re;
|
|
|
}
|
|
|
}
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|