增加模版名称

This commit is contained in:
evoxwht 2023-06-14 10:26:10 +08:00
parent ffd8f4bb66
commit afed94b88a

View File

@ -78,6 +78,11 @@ class Express extends BaseExpress
foreach ($list as &$item) {
$item['code'] = $item['value'];
$item['value'] = $item['label'];
$num = 1;
foreach ($item['list'] as &$value) {
$value['title'] = $item['label'] . '模版' . $num;
$num++;
}
}
return $list;
}