作者 王晓刚
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)