正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
@@ -18,6 +18,7 @@ class ChitController extends AdminBaseController | @@ -18,6 +18,7 @@ class ChitController extends AdminBaseController | ||
18 | public function index(){ | 18 | public function index(){ |
19 | $where['id'] = ['in'=>[4,5,6]]; | 19 | $where['id'] = ['in'=>[4,5,6]]; |
20 | $data1=Db::name('page_html')->where($where)->select(); | 20 | $data1=Db::name('page_html')->where($where)->select(); |
21 | + dump($data1); | ||
21 | $id = $this->request->param('id') ? $this->request->param('id') : $data1[0]['id']; | 22 | $id = $this->request->param('id') ? $this->request->param('id') : $data1[0]['id']; |
22 | $data=Db::name('page_html') | 23 | $data=Db::name('page_html') |
23 | ->where('id',$id) | 24 | ->where('id',$id) |
-
请 注册 或 登录 后发表评论