/** * 店铺列表 * @return type */ public function actionIndex() { $view = \Yii::$app->view; $view->params['moduleName'] = '商家信息'; $data['data'] = Store::getStore(); return $this->render('master', $data); }