前台indexController.class.php中怎么使用authModel.class.php中的session数据啊?
class indexController {
public function __construct() {
$authobj = M('auth');
$this->auth = $authobj->getauth();
echo var_dump($this->auth);
}
}
这样写拿不到
希望大神能帮忙解决下,很急,谢谢
class indexController {
public function __construct() {
$authobj = M('auth');
$this->auth = $authobj->getauth();
echo var_dump($this->auth);
}
}
这样写拿不到
希望大神能帮忙解决下,很急,谢谢
2017-05-08
举报