NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
## 在controller找到Index.php创建后台管理控制器 ***** ![](https://img.kancloud.cn/9c/b1/9cb194570c23b13d39acc8a972f91cc4_306x255.png) ``` classIndexextendsController { publicfunctionindex()      { //用户信息表 $user = Db::name('user')->select(); //输出查询到的数据到后端模板页 $this\->assign('user',$user); return$this\->fetch();      } } ``` ***** ``` 审核:贾超贤 编辑:张志宇 更新时间:2021-07-01 17:5:30 ```