|
@@ -1249,6 +1249,15 @@ class GoodsService
|
|
|
if (!empty($params['appointment_label'])) {
|
|
|
$attributeJson['label'] = $params['appointment_label'];
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
$model->goods_attribute_json = json_encode($attributeJson, JSON_UNESCAPED_UNICODE);
|
|
|
|
|
|
|
|
@@ -1343,7 +1352,6 @@ class GoodsService
|
|
|
$attributeJson['icon'] = str_replace(getenv('STORAGE_DOMAIN'), '', $params['goods_theme_icon']);
|
|
|
$model->goods_attribute_json = json_encode($attributeJson);
|
|
|
}
|
|
|
-
|
|
|
if (!empty($params['address'])) {
|
|
|
if (!empty($model->goods_attribute_json) && !is_array($model->goods_attribute_json)) {
|
|
|
$attributeJson = json_decode($model->goods_attribute_json, true);
|