thinkphp資源路由報錯怎么辦

thinkphp資源路由報錯的解決辦法:1、打開相應的tp文件;2、通過“Route::Resource(‘blog’,’index/blog’);”方式設置restful請求的資源路由;3、將public重定向即可。

thinkphp資源路由報錯怎么辦

本教程操作環境:Windows7系統、ThinkPHP5版、Dell G3電腦。

thinkphp資源路由報錯怎么辦?

thinkphp5資源路由訪問404報錯

解決辦法:把public重定向

立即學習PHP免費學習筆記(深入)”;

thinkphp資源路由報錯怎么辦

thinkphp資源路由報錯怎么辦

推薦學習:《thinkPHP視頻教程

以上就是

? 版權聲明
THE END
喜歡就支持一下吧
點贊11 分享