<?php
namespace app\admin\controller;
use think\Controller;
class Common extends Controller
{
    public function _initialize(){hello();
        if(!session('usermail') || !session('kouling')){
           $this->error('请登录',url('login/index')); 
        }
    }

}
