关于thinkphp的一些系统常量以及变量
1、获取当前模块名称
$this->request->module();
同样的,获取当前控制器名 $this->request->controller();
获取当前方法名 $this->request->action();
1、获取当前模块名称
$this->request->module();
同样的,获取当前控制器名 $this->request->controller();
获取当前方法名 $this->request->action();