|
@@ -106,6 +106,7 @@ public class HotelPublish implements ProductPublish {
|
|
|
BigDecimal price = it.getPrice().multiply(BigDecimal.valueOf(100));
|
|
|
Double latitude = it.getLatitude();
|
|
|
Double longitude = it.getLongitude();
|
|
|
+ String address = it.getAddress();
|
|
|
LocationModel locationModel = new LocationModel();
|
|
|
locationModel.setLatitude(latitude);
|
|
|
locationModel.setLongitude(longitude);
|
|
@@ -115,6 +116,7 @@ public class HotelPublish implements ProductPublish {
|
|
|
.productType(ProductType.Hotel)
|
|
|
.cover(new String[]{picture})
|
|
|
.salePrice(price.longValue())
|
|
|
+ .address(address)
|
|
|
.locationPoint(locationModel)
|
|
|
.title(chineseName)
|
|
|
.meta(Map.of("hotel", it))
|