yii2 框架版本为 yii2.08php
1、 打开\vendor\yiisoft\yii2\web\UrlManager.phpweb
2、将第371行的代码注释调整为以下便可yii2
[php] view plain copy框架