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} +