当前位置:Gxlcms > PHP教程 > thinkphpinclude,该如何处理

thinkphpinclude,该如何处理

时间:2021-07-01 10:21:17 帮助过:3人阅读

thinkphp include
thinkphp include 其它模块,比如说
但是我没有UserAction,只有我有User文件夹和ken.html,就可以包含进来,这是为什么?


所有的逻辑处理都是在主模块里面么?
------解决思路----------------------
像网页头部或者底部这种共用的 页面 ,用thinkphp里面的layout布局就好了,具体的可以查阅下手册。代码都放在初始化的方法里。 其他的控制器都继承这个类。

人气教程排行