mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 14:01:07 +00:00
【程序目录】后台页面设计列表数据优化
This commit is contained in:
parent
8b61254242
commit
f840df99ba
@ -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';
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user