|
@@ -93,6 +93,7 @@ public class KfcPublish implements ProductPublish {
|
|
|
.regionCode(productTriggerTask.getRegion().getCode())
|
|
|
.pid(it.getId())
|
|
|
.address(it.getAddress())
|
|
|
+ .parkId(productTriggerTask.getRegion().getParentId())
|
|
|
.productType(ProductType.Restaurant)
|
|
|
.locationPoint(locationModel)
|
|
|
.title(it.getShopName())
|
|
@@ -119,6 +120,7 @@ public class KfcPublish implements ProductPublish {
|
|
|
productCenterStream.send(List.of(
|
|
|
ProductPushModel.builder()
|
|
|
.regionCode(productTriggerTask.getRegion().getCode())
|
|
|
+ .parkId(productTriggerTask.getRegion().getParentId())
|
|
|
.pid((String) productId)
|
|
|
.address(it.getAddress())
|
|
|
.productType(ProductType.RestaurantFood)
|