This commit is contained in:
Van0313
2025-07-06 11:39:42 +08:00
parent bf585d7cd1
commit ec3ebdd5d4

View File

@@ -1982,7 +1982,7 @@ public class JDUtil {
if (taobaoProductId != null && !taobaoProductId.isEmpty()) { if (taobaoProductId != null && !taobaoProductId.isEmpty()) {
logger.info("发现淘宝映射ID尝试从淘宝获取评论"); logger.info("发现淘宝映射ID尝试从淘宝获取评论");
wxUtil.sendTextMessage(fromWxid, "本地无未用评论已发现淘宝映射ID从淘宝获取评论", 1, null, true); wxUtil.sendTextMessage(fromWxid, "本地无可用京东评论已发现淘宝映射ID从淘宝获取评论", 1, null, true);
Comment taobaoComment = generateTaobaoComment(productType); Comment taobaoComment = generateTaobaoComment(productType);
if (taobaoComment != null) { if (taobaoComment != null) {
commentToUse = taobaoComment; commentToUse = taobaoComment;
@@ -2063,14 +2063,16 @@ public class JDUtil {
/** /**
* 📊 发送统计信息 * 📊 发送统计信息
*/ */
if (!isTb){
wxUtil.sendTextMessage(fromWxid, wxUtil.sendTextMessage(fromWxid,
"评论统计:\n" + "京东评论统计:\n" +
"型号 " + productType + "\n" + "型号 " + productType + "\n" +
"新增:" + addCommentCount + "\n" + "新增:" + addCommentCount + "\n" +
"已使用:" + usedCommentCount + "\n" + "已使用:" + usedCommentCount + "\n" +
"可用:" + canUseComentCount + "\n" + "可用:" + canUseComentCount + "\n" +
"总数:" + allCommentCount, 1, fromWxid, true); "总数:" + allCommentCount, 1, fromWxid, true);
} }
}
} }