| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?php
- namespace app\admin\controller;
- use think\admin\Controller;
- use think\admin\extend\DataExtend;
- use think\admin\service\AdminService;
- use think\admin\service\MenuService;
- use think\admin\service\NodeService;
- /**
- * 活动管理
- * Class Menu
- * @package app\admin\controller
- */
- class Activity extends Controller
- {
- /**
- * 当前操作数据库
- * @var string
- */
- private $table = 'activity';
- /**
- * 奖品订单管理
- * @auth true
- * @menu true
- * @throws \think\db\exception\DataNotFoundException
- * @throws \think\db\exception\DbException
- * @throws \think\db\exception\ModelNotFoundException
- */
- public function index()
- {
- $this->title = '活动管理';
- $this->type = input('type', 'index');
- $this->_query($this->table)->order('id desc')->page(false, true);
- }
- }
|