123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
- /**
- * FecShop file.
- *
- * @link http://www.fecshop.com/
- * @copyright Copyright (c) 2016 FecShop Software LLC
- * @license http://www.fecshop.com/license/
- */
- namespace fecadmin\controllers;
- use Yii;
- use fec\helpers\CRequest;
- use fecadmin\FecadminbaseController;
- /**
- * @author Terry Zhao <2358269014@qq.com>
- * @since 1.0
- */
- class CacheController extends FecadminbaseController
- {
-
-
- # 刷新缓存
- public function actionIndex()
- {
- if(CRequest::param("method") == 'reflush'){
- $this->getBlock()->reflush();
- }
- $data = $this->getBlock()->getLastData();
- return $this->render($this->action->id,$data);
- }
-
-
-
-
- }
|