录单
This commit is contained in:
@@ -1997,7 +1997,14 @@ public class JDUtil {
|
||||
wxUtil.sendTextMessage(fromWxid, "AI 评论生成失败", 1, fromWxid, false);
|
||||
}
|
||||
// 发送生成的评论文本
|
||||
wxUtil.sendTextMessage(fromWxid, gptResponse, 1, fromWxid, true);
|
||||
if (Util.isNotEmpty(gptResponse)) {
|
||||
String[] split = gptResponse.split("\n");
|
||||
for (String s : split) {
|
||||
s = s.replaceAll("1.|2.", "");
|
||||
wxUtil.sendTextMessage(fromWxid, s, 1, fromWxid, true);
|
||||
}
|
||||
}
|
||||
//wxUtil.sendTextMessage(fromWxid, gptResponse, 1, fromWxid, true);
|
||||
wxUtil.sendTextMessage(fromWxid, "评论统计:\n" + "型号 " + productType + "\n" + "新增:" + addCommentCount + "\n" + "已使用:" + usedCommentCount + "\n" + "可用:" + canUseComentCount + "\n" + "总数:" + allCommentCount, 1, fromWxid, true);
|
||||
// 更新评论状态为已使用
|
||||
commentToUse.setIsUse(1);
|
||||
|
||||
Reference in New Issue
Block a user