1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <?php
- // +----------------------------------------------------------------------
- // | ThinkAdmin
- // +----------------------------------------------------------------------
- // | 版权所有 2014~2021 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
- // +----------------------------------------------------------------------
- // | 官方网站: https://thinkadmin.top
- // +----------------------------------------------------------------------
- // | 开源协议 ( https://mit-license.org )
- // +----------------------------------------------------------------------
- // | gitee 代码仓库:https://gitee.com/zoujingli/ThinkAdmin
- // | github 代码仓库:https://github.com/zoujingli/ThinkAdmin
- // +----------------------------------------------------------------------
- namespace app\county\controller;
- use think\admin\Controller;
- use hg\apidoc\annotation as Apidoc;
- /**
- * 基教小学管理
- * Class User
- * @package app\admin\controller
- */
- class JijiaoPrimarySchool extends Controller
- {
- /**
- * 绑定数据表
- * @var string
- */
- private $table = 'jijiao_primary_school';
- /**
- * 基教小学管理
- * @auth true
- * @menu true
- * @throws \think\db\exception\DataNotFoundException
- * @throws \think\db\exception\DbException
- * @throws \think\db\exception\ModelNotFoundException
- */
- public function index()
- {
- $this->title = '基教小学';
- $county_id = session('user.county_id');
- $query = $this->_query($this->table)->where('county_id',$county_id);
- // 列表排序并显示
- $query->page();
- }
- }
|