我有 UserControler
并在虚拟服务器中运行它 http://basic.com/index.php?r=user/index .当我转到 http://basic.com 时,如何将 UserController
和操作 index
设置为默认值
最佳答案
关于php - 如何在yii2中设置默认 Controller ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25666205/
我有 UserControler
并在虚拟服务器中运行它 http://basic.com/index.php?r=user/index .当我转到 http://basic.com 时,如何将 UserController
和操作 index
设置为默认值
最佳答案
关于php - 如何在yii2中设置默认 Controller ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25666205/