/** * 缓存列表 */ public function actionIndex() { $data = []; $res = Cache::getCacheList(); $data['cache'] = $res; return $this->render('index', $data); }