Gorden 9 months ago
parent
commit
73381b0ebe
1 changed files with 1 additions and 1 deletions
  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'];
                 }