From ec3ebdd5d4eb8d1fc8cbe595a5ca9f1a0f6e5152 Mon Sep 17 00:00:00 2001 From: Van0313 <60689272+Van0313@users.noreply.github.com> Date: Sun, 6 Jul 2025 11:39:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=84=E8=AE=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cn/van/business/util/JDUtil.java | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/main/java/cn/van/business/util/JDUtil.java b/src/main/java/cn/van/business/util/JDUtil.java index 71d31f9..169d3ce 100644 --- a/src/main/java/cn/van/business/util/JDUtil.java +++ b/src/main/java/cn/van/business/util/JDUtil.java @@ -1982,7 +1982,7 @@ public class JDUtil { if (taobaoProductId != null && !taobaoProductId.isEmpty()) { logger.info("发现淘宝映射ID,尝试从淘宝获取评论"); - wxUtil.sendTextMessage(fromWxid, "本地无未用评论,已发现淘宝映射ID,从淘宝获取评论", 1, null, true); + wxUtil.sendTextMessage(fromWxid, "本地无可用京东评论,已发现淘宝映射ID,从淘宝获取评论", 1, null, true); Comment taobaoComment = generateTaobaoComment(productType); if (taobaoComment != null) { commentToUse = taobaoComment; @@ -2063,13 +2063,15 @@ public class JDUtil { /** * 📊 发送统计信息 */ - wxUtil.sendTextMessage(fromWxid, - "评论统计:\n" + - "型号 " + productType + "\n" + - "新增:" + addCommentCount + "\n" + - "已使用:" + usedCommentCount + "\n" + - "可用:" + canUseComentCount + "\n" + - "总数:" + allCommentCount, 1, fromWxid, true); + if (!isTb){ + wxUtil.sendTextMessage(fromWxid, + "京东评论统计:\n" + + "型号 " + productType + "\n" + + "新增:" + addCommentCount + "\n" + + "已使用:" + usedCommentCount + "\n" + + "可用:" + canUseComentCount + "\n" + + "总数:" + allCommentCount, 1, fromWxid, true); + } }