<?php
namespace Component;
use Think\Controller;
class AdminController extends Controller{
public function __construct(){
parent::__construct();
$userName = session('ADMIN_USER_NAME_LOGIN');
$id = session('ADMIN_USER_ID');
if(empty($id) || empty($userName) || session('ADMIN_USER_IDCARD')!='I56LD58@AEAF$2DD5E2^0#28MM074R5=*fg@56#V209'){
$this->redirect('Manager/login');
}
最佳答案