Study.php 513 字节
<?php
namespace  app\index\controller;

use app\common\controller\Frontend;

class  Study 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->fetch();
    }

    public function studyread(){
        return $this->fetch();
    }
}