正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -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); |
-
请 注册 或 登录 后发表评论