thinkphp控制器駝峯命名

控制器若是使用駝峯命名,如BlogTestphp

訪問該控制器的時候有兩種方式:thinkphp

1.convention.php配置'url_convert' => false,則嚴格按照BlogTest訪問thinkphp5

2.若'url_convert' => true,則blogtest ,BlogTest都是能夠的url

具體參考thinkphp url訪問章節:https://www.kancloud.cn/manual/thinkphp5/118012blog

相關文章
相關標籤/搜索