Procházet zdrojové kódy

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

shizhongqi před 1 rokem
rodič
revize
d19e40481d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 = [];
         $where['mainId'] = $this->mainId;
         $where['mainId'] = $this->mainId;
         $where['delStatus'] = 0;
         $where['delStatus'] = 0;
-        $where['type'] = $type;
+        // $where['type'] = $type; // 需求需要所有都展示,不分类别
         
         
         $list = PicTextClass::getList('id, title, addTime', $where, 'addTime desc');
         $list = PicTextClass::getList('id, title, addTime', $where, 'addTime desc');
         util::success($list);
         util::success($list);