作者 liyuhang

csdm

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