Serve.php
450 字节
<?php
namespace app\index\controller;
use app\common\controller\Frontend;
class Serve extends Frontend
{
protected $noNeedLogin = '*';
protected $noNeedRight = '*';
protected $layout = 'default';
public function _initialize()
{
parent::_initialize(); // TODO: Change the autogenerated stub
$this->assign('index','index');
}
public function index()
{
return $this->view->fetch();
}
}