|
|
@@ -289,6 +289,7 @@ class CustomFieldSettingService extends Service
|
|
|
$label = trim((string)($field['field_label'] ?? ''));
|
|
|
$newVal = (string)($field['field_value'] ?? '');
|
|
|
$type = (int)($field['field_type'] ?? 1);
|
|
|
+ $field_name = (string)($field['field_name'] ?? '');
|
|
|
|
|
|
if ($label === '') continue; // 标签为空的直接跳过,不保存
|
|
|
|
|
|
@@ -310,6 +311,7 @@ class CustomFieldSettingService extends Service
|
|
|
'field_label' => $label,
|
|
|
'field_value' => $newVal,
|
|
|
'field_type' => $type,
|
|
|
+ 'field_name' => $field_name,
|
|
|
];
|
|
|
|
|
|
if ($fId > 0) {
|