重构评论
This commit is contained in:
@@ -1661,7 +1661,7 @@ public class JDUtil {
|
|||||||
String value = entry.getValue();
|
String value = entry.getValue();
|
||||||
productTypeStr.append(k).append(":").append(value).append("\n");
|
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);
|
logger.info("进入生成评论流程 - 用户: {}", fromWxid);
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
@@ -1711,7 +1711,7 @@ public class JDUtil {
|
|||||||
if (productTypeMap.containsKey(message)) {
|
if (productTypeMap.containsKey(message)) {
|
||||||
generateComment(fromWxid, message);
|
generateComment(fromWxid, message);
|
||||||
} else {
|
} else {
|
||||||
wxUtil.sendTextMessage(fromWxid, "无效的选择,请回复 1 或 2", 1, fromWxid, false);
|
wxUtil.sendTextMessage(fromWxid, "无效的选择", 1, fromWxid, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user