悠悠楠杉
网站页面
解决方法
1、找到application/index/controller/Index.php里的getMenu
2、找到application/admin/controller/Index.php里的getMain和checkUpdate
3、执行以下操作
//找到Session::has("admin"),后面加上session_write_close();
if (!Session::has("admin")) {
return json($this->getReturn(-1, "没有登录"));
}
session_write_close();
最后测试