thinkphp5 tp5 获取模块名控制器名方法名

<?php
namespace appindexcontroller;

use thinkDb;
use thinkController;
class Base extends Controller
{
    public function _initialize(){
        $no_check = array("login","login_check");
        $request = 	hinkRequest::instance();
        echo $request->controller();
        echo $request->module();
        echo $request->action();
    }
}
原文地址:https://www.cnblogs.com/zonglonglong/p/8094374.html