thinkPHP3.2.2 控制器内跳转的三种方式

    public function jump() {
        $obj = new TestController();
        $obj->logged();
    }

    public function jump1() {
        $obj = A('Test');
        $obj->logged();
    }

    public function jump2() {
        R('Test/logged');
    }

 

posted @ 2018-03-08 10:16  jiafeng  阅读(3340)  评论(0编辑  收藏  举报