如图,我想访问applicationindexcontrollerIndex.php中的自定义hello()方法,url该怎么写?
主机名/index.php/Index/index/hello
localhost/index.php/index/index/hello
如果你没有定义路由、修改入口文件位置以及写hatcess文件,应该是 主机名/项目目录/public/index.php/Index/index/hello
1 回答4k 阅读✓ 已解决
3 回答1.8k 阅读✓ 已解决
2 回答2.2k 阅读✓ 已解决
1 回答1.4k 阅读✓ 已解决
2 回答2.2k 阅读
1 回答578 阅读✓ 已解决
788 阅读
2 回答3.9k 阅读✓ 已解决
2 回答4.1k 阅读✓ 已解决
1 回答3.3k 阅读✓ 已解决
3 回答5.9k 阅读✓ 已解决
2 回答4.4k 阅读
主机名/index.php/Index/index/hello