使用thinkphp架构使web页面显示的内容
在appliccation/test/controller下的Index.php中代码如下图:
appliccation/test/controller/Index.php
保存后,在浏览器中输入地址:http://127.0.0.1/thinkphp5/public/index.php/test/index/index
在appliccation/test/controller下的Index.php中代码如下图:
保存后,在浏览器中输入地址:http://127.0.0.1/thinkphp5/public/index.php/test/index/index