Gorden 9 tháng trước cách đây
mục cha
commit
73381b0ebe
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/admin/service/goods/GoodsService.php

+ 1 - 1
app/admin/service/goods/GoodsService.php

@@ -1534,7 +1534,7 @@ class GoodsService
                 if (!empty($params['appointment_label'])) {
                     $attributeJson['label'] = $params['appointment_label'];
                 }
-                if (!empty($params['address'])) {
+                if (!empty($params['address']) && !empty($params['position'])) {
                     $attributeJson['address'] = $params['address'];
                     $attributeJson['position'] = $params['position'];
                 }