123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <?php
- namespace Admin\Controller;
- /**
- * 样式管理
- * @author brent
- * @version 0.0.1
- */
- class SelectActivityController extends CommonController {
- protected $table = ''; //表名
- /**
- * [_initialize 前置操作-继承公共前置方法]
- * @author Devil
- * @blog http://gong.gg/
- * @version 0.0.1
- * @datetime 2016-12-03T12:39:08+0800
- */
- public function _initialize() {
- // 调用父类前置方法
- parent::_initialize();
- // 登录校验
- $this->Is_Login();
- // 权限校验
- $this->Is_Power();
- }
- /**
- * [Index 文章列表]
- * @author Devil
- * @blog http://gong.gg/
- * @version 0.0.1
- * @datetime 2016-12-06T21:31:53+0800
- */
- public function Index() {
- $activitys = C('activity');
- $this->assign('activitys',$activitys);
- $this->display('Index');
- }
- public function select() {
- $view = I('get.view');
- $data['logic'] = I('get.logic');
- $data['view'] = I('get.view');
- $data['prize_log_table'] = I('get.log');
- $this->assign('data',$data);
- $this->display($view);
- }
- }
- ?>
|