12345678910111213141516171819202122232425262728 |
- <?php
- namespace app\admin\controller;
- use app\common\controller\Backend;
- use think\Controller;
- use think\Request;
- use app\common\Enum\ChannelEnum;
- /**
- * 版本管理
- *
- * @icon fa fa-circle-o
- */
- class Version extends Backend
- {
- protected $model = null;
- public function _initialize()
- {
- parent::_initialize();
- $this->model = model('Version');
- $this->view->assign("platformList", ChannelEnum::getChannelMap());
- $this->assignconfig("platformList", json_encode(ChannelEnum::getChannelMap()));
- }
-
- }
|