|
@@ -97,6 +97,7 @@ public class KfcPublish implements ProductPublish {
|
|
|
.locationPoint(locationModel)
|
|
|
.title(it.getShopName())
|
|
|
.meta(Map.of("shop", it, "ot", string))
|
|
|
+ .expireTimeSecond(60 * 60 * 24 * 10)
|
|
|
.build()));
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
@@ -126,6 +127,7 @@ public class KfcPublish implements ProductPublish {
|
|
|
.cover(new String[]{(String) imageUrl})
|
|
|
.salePrice(new BigDecimal(String.valueOf(priceHead)).multiply(BigDecimal.valueOf(100)).longValue())
|
|
|
.meta(Map.of("menus", jsonObject, "ot", string))
|
|
|
+ .expireTimeSecond(60*60*24)
|
|
|
.build()));
|
|
|
|
|
|
});
|