12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <?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;
- /**
- * 基教幼儿园
- * Class User
- * @package app\admin\controller
- */
- class Jijiao extends Controller
- {
- /**
- * 绑定数据表
- * @var string
- */
- private $table = 'jijiao_youer_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();
- }
- }
|