mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-06-07 02:12:25 +08:00
登录采用cookie、细节优化
This commit is contained in:
@ -254,7 +254,7 @@ class Admin extends Common
|
||||
public function LoginInfo()
|
||||
{
|
||||
// 是否已登录
|
||||
if(AdminService::LoginInfo() !== null)
|
||||
if(!empty($this->admin))
|
||||
{
|
||||
return MyRedirect(MyUrl('admin/index/index'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user