Parcourir la source

【程序目录】后台页面设计列表数据优化

evoxwht il y a 3 ans
Parent
commit
f840df99ba
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      crmeb/app/services/diy/DiyServices.php

+ 1 - 1
crmeb/app/services/diy/DiyServices.php

@@ -55,7 +55,7 @@ class DiyServices extends BaseServices
     {
         [$page, $limit] = $this->getPageValue();
         $where['is_del'] = 0;
-        $list = $this->dao->getDiyList($where, $page, $limit);
+        $list = $this->dao->getDiyList($where, $page, $limit, ['id', 'name', 'type', 'add_time', 'update_time', 'is_diy', 'status']);
         foreach ($list as &$item) {
             $item['type_name'] = $item['type'] == 0 ? '可视化' : 'DIY';
         }