From fcda0498c44b4206b353b70074efac070e063045 Mon Sep 17 00:00:00 2001 From: WispX <1591788658@qq.com> Date: Wed, 8 May 2019 21:45:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E7=AE=A1=E7=90=86=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E7=AD=9B=E9=80=89=E8=AE=BF=E5=AE=A2=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/index/controller/admin/Images.php | 5 +++-- application/index/view/admin/images/index.html | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/application/index/controller/admin/Images.php b/application/index/controller/admin/Images.php index dc7ee819..33930c39 100644 --- a/application/index/controller/admin/Images.php +++ b/application/index/controller/admin/Images.php @@ -38,7 +38,7 @@ class Images extends Base $where = json_decode($where, true); if (null == $where) { $where = [ - 'suspicious' => 0 + 'suspicious' => 0, ]; } $model = new ImagesModel(); @@ -63,7 +63,8 @@ class Images extends Base 'keyword' => $keyword, 'strategyList' => $this->strategyList, 'strategy' => isset($where['strategy']) ? $where['strategy'] : '', - 'suspicious' => isset($where['suspicious']) ? $where['suspicious'] : 0 + 'suspicious' => isset($where['suspicious']) ? $where['suspicious'] : 0, + 'user_id' => isset($where['user_id']) ? $where['user_id'] : null, ]); return $this->fetch(); diff --git a/application/index/view/admin/images/index.html b/application/index/view/admin/images/index.html index 2440d6d8..bbb424a5 100644 --- a/application/index/view/admin/images/index.html +++ b/application/index/view/admin/images/index.html @@ -21,6 +21,7 @@ {foreach $strategyList as $key => $value} {/foreach} +