|
@@ -87,6 +87,10 @@ public class KwaixiaodianItemGetServiceImpl implements IKwaixiaodianItemGetServi
|
|
|
itemGet.setContractPhone(data.getBoolean("contractPhone") ? "1" : "0");
|
|
|
Long price = getwaiItmPrice(token, kwaiItemId);
|
|
|
itemGet.setPrice(price);
|
|
|
+ JSONArray imageUrls = data.getJSONArray("imageUrls");
|
|
|
+ if (!Check.isNull(imageUrls)) {
|
|
|
+ itemGet.setImageUrl(imageUrls.getString(0));
|
|
|
+ }
|
|
|
mapper.replaceKWaixiaodianItems(itemGet);
|
|
|
replaceItemGetSku(data.getJSONArray("skuInfos"));
|
|
|
returnJson.put("success", true);
|