作者 liyuhang

csdm

@@ -19,6 +19,7 @@ class AdminLog extends Base @@ -19,6 +19,7 @@ class AdminLog extends Base
19 $this->param['text'] = ['like','%'.$this->param['text'].'%']; 19 $this->param['text'] = ['like','%'.$this->param['text'].'%'];
20 } 20 }
21 $adminLogModel = new AdminLogModel(); 21 $adminLogModel = new AdminLogModel();
  22 + //一对多处理函数
22 $lists = $adminLogModel->manager()->where($this->param)->page($this->p, $this->row)->order('id desc')->select()->toArray(); 23 $lists = $adminLogModel->manager()->where($this->param)->page($this->p, $this->row)->order('id desc')->select()->toArray();
23 $this->allCount = $adminLogModel->allCount; 24 $this->allCount = $adminLogModel->allCount;
24 $this->result($lists); 25 $this->result($lists);