private function test() { \HuiLib\Session\SessionBase::create(); print_r($_SESSION); }
/** * 初始化Session资源 */ protected function initSession() { $this->sessionInstance = \HuiLib\Session\SessionBase::create($this->configInstance()); Front::getInstance()->setSession($this->sessionInstance); }