From 0f704a4650edd60cea2e57778b6703509376a42c Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 08 三月 2024 17:48:09 +0800 Subject: [PATCH] 京东API(大淘客补充)优化/日志优化 --- fanli/src/main/java/com/yeshi/fanli/controller/client/v2/IntegralControllerV2.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/IntegralControllerV2.java b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/IntegralControllerV2.java index beb4110..bd9019e 100644 --- a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/IntegralControllerV2.java +++ b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/IntegralControllerV2.java @@ -607,7 +607,7 @@ record = integralGetService.addScanPushHistory(uid); } else if (TaskUniqueKeyEnum.scanGoods.name().equalsIgnoreCase(event)) { JSONObject json = JSONObject.fromObject(data); - record = integralGetService.addScanGoodsDetail(uid, json.optInt("goodsType"), json.optLong("goodsId")); + record = integralGetService.addScanGoodsDetail(uid, json.optInt("goodsType"), json.optString("goodsId")); } else if (TaskUniqueKeyEnum.scanHomeBanner.name().equalsIgnoreCase(event)) { JSONObject json = JSONObject.fromObject(data); record = integralGetService.addScanRecommendBanner(uid, json.optString("id")); -- Gitblit v1.8.0