廖泽华 4 anni fa
parent
commit
2fe806e584
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      mobile/controllers/IndexController.php

+ 1 - 1
mobile/controllers/IndexController.php

@@ -32,7 +32,7 @@ class IndexController extends CommonController
32 32
 	public function actionIndex()
33 33
 	{
34 34
 		//获取当前模块
35
-		$module = Yii::$app->controller->id;
35
+		$module = Yii::$app->controller->action->id;
36 36
 		//导航
37 37
 		$sysmenu = new \common\models\Frontend();
38 38
 		$sysmenu->pid = 5;