评论
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user