thinkphp5 怎么获取当前的模块,控制器和方法名
//当前模块url地址 $request= Request::instance(); $module_name=$request->module(); $controller_name=$request->controller(); $action=$request->action(); $active_url=$module_name.'/'.$controller_name.'/'.$action; echo $active_url;exit;
打印结果:index/GetOss/get_signature