Gorden 9 달 전
부모
커밋
73381b0ebe
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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'];
                 }