Просмотр исходного кода

图文列表查询不分类别,所有都展示

shizhongqi 1 год назад
Родитель
Сommit
d19e40481d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-ghs/controllers/PicTextController.php

+ 1 - 1
app-ghs/controllers/PicTextController.php

@@ -22,7 +22,7 @@ class PicTextController extends BaseController
         $where = [];
         $where['mainId'] = $this->mainId;
         $where['delStatus'] = 0;
-        $where['type'] = $type;
+        // $where['type'] = $type; // 需求需要所有都展示,不分类别
         
         $list = PicTextClass::getList('id, title, addTime', $where, 'addTime desc');
         util::success($list);