重构评论

This commit is contained in:
Van0313
2025-05-02 21:03:55 +08:00
parent 58c0d5884c
commit 41d2f8b84b

View File

@@ -1661,7 +1661,7 @@ public class JDUtil {
String value = entry.getValue();
productTypeStr.append(k).append(":").append(value).append("\n");
}
wxUtil.sendTextMessage(fromWxid, "请选择要生成的评论类型:" + productTypeStr, 1, fromWxid, false);
wxUtil.sendTextMessage(fromWxid, "请选择要生成的评论类型:\n " + productTypeStr, 1, fromWxid, false);
logger.info("进入生成评论流程 - 用户: {}", fromWxid);
} catch (Exception e) {
@@ -1711,7 +1711,7 @@ public class JDUtil {
if (productTypeMap.containsKey(message)) {
generateComment(fromWxid, message);
} else {
wxUtil.sendTextMessage(fromWxid, "无效的选择,请回复 1 或 2", 1, fromWxid, false);
wxUtil.sendTextMessage(fromWxid, "无效的选择", 1, fromWxid, false);
}
} catch (Exception e) {