From 3b6c47aa75711761a4994c737d7432bdf8743613 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 06 十二月 2024 18:23:32 +0800 Subject: [PATCH] 京东商品ID格式转换 --- fanli/src/main/java/com/yeshi/fanli/service/impl/order/CommonOrderServiceImpl.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/order/CommonOrderServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/order/CommonOrderServiceImpl.java index 80381e5..8547775 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/order/CommonOrderServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/order/CommonOrderServiceImpl.java @@ -1082,7 +1082,7 @@ if (commonGoodsList.size() <= 0)// 涓嶅瓨鍦ㄥ氨鎻掑叆鍟嗗搧 { PDDGoodsDetail pddGoods = null; - pddGoods = PinDuoDuoApiUtil.getGoodsDetail(Long.parseLong(cog.getGoodsId())); + pddGoods = PinDuoDuoApiUtil.getGoodsDetail(cog.getGoodsId()); if (pddGoods != null) { cog = CommonOrderGoodsFactory.create(pddGoods); } @@ -1181,7 +1181,7 @@ cog.getGoodsType()); if (commonGoodsList.size() <= 0)// 涓嶅瓨鍦ㄥ氨鎻掑叆鍟嗗搧 { - JDGoods goods = JDApiUtil.getGoodsDetail(itemOrder.getSkuId()); + JDGoods goods = JDApiUtil.getGoodsDetail(itemOrder.getSkuId()+""); if (goods == null) { goods = JDUtil.getGoodsFromWeb(itemOrder.getSkuId()); } -- Gitblit v1.8.0