...
|
...
|
@@ -19,6 +19,7 @@ class UserBaseController extends HomeBaseController |
|
|
{
|
|
|
if(session('user.id')){
|
|
|
$login_info = Db::name('user')->where(['id'=>session('user.id')])->find();
|
|
|
var_dump($login_info);
|
|
|
if(!$login_info){
|
|
|
unset($_SESSION);
|
|
|
session('user.id','');
|
...
|
...
|
|