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