admin_topic_328_4

This commit is contained in:
dengbw
2023-03-28 11:57:21 +08:00
parent 12d26acd8b
commit 374e8239ed
+1 -1
View File
@@ -41,7 +41,7 @@ class CluesCfrom extends HD_Controller
$setValue['status'] = $value['status'];
$setValue['status_name'] = $value['status'] == 1 ? '正常' : '禁用';
$options = '';
$res_cfrom = $this->mdCluesCfrom->select(["status<>" => -1, 'pid' => $value['id']], "sort desc,c_time desc", 1, 10, 'title');
$res_cfrom = $this->mdCluesCfrom->select(["status<>" => -1, 'pid' => $value['id']], "sort desc,id desc", 1, 10, 'title');
$res_cfrom && $options = implode(',', array_column($res_cfrom, 'title'));
$setValue['options'] = $options;
$lists[] = $setValue;