lumen伪静态路由设置示例
lumen路由文件中的配置: $app->get('info-{tid}.html', 'ThreadController@palmInfo'); 控制器中代码示例: public function palmInfo($tid) { try { var_dump($tid); exit('hi'); } catch (\Exception $e) { Log::error($e->getMessage()."\r\n".$e->getTraceAsString()); Res::res('fail'); } }