찾다

 >  Q&A  >  본문

thinkphp5 - thinkphp路由

thinkphp路由会根据规则进行重定向,不得不说有时候uri很难看。
但是有没有办法实现路径上的不重定向。
比如\think\Route::register('abc','/about/abc');
有没有办法实现访问example.com/abc等效于example.com/about/abc(不进行重定向)
之前忘记说了thinkphp5.0

阿神阿神2896일 전277

모든 응답(1)나는 대답할 것이다

  • 巴扎黑

    巴扎黑2017-04-10 17:34:20

    多看文档,
    http://www.kancloud.cn/manual/thinkphp/1707

    회신하다
    0
  • 취소회신하다