重构评论

This commit is contained in:
Van0313
2025-05-03 14:52:58 +08:00
parent a394689e9f
commit ba46d413f6
2 changed files with 7 additions and 8 deletions

View File

@@ -255,12 +255,11 @@ public class WxMessageConsumer {
jdUtils.sendOrderToWxByOrderD(msg.replace("", ""), fromWxid);
return;
}
if (msg.startsWith("")){
logger.info("消息以评开头,处理评价指令消息");
jdUtils.sendOrderToWxByOrderP(msg.replace("", ""), fromWxid);
return;
}
//if (msg.startsWith("评")){
// logger.info("消息以评开头,处理评价指令消息");
// jdUtils.sendOrderToWxByOrderP(msg.replace("评", ""), fromWxid);
// return;
//}
logger.info("未命中前置指令,开始命中 Default 流程");
jdUtils.sendOrderToWxByOrderDefault(msg, fromWxid);
}
@@ -290,10 +289,10 @@ public class WxMessageConsumer {
return;
}
if (msg.startsWith("")){
if (("47484514467@chatroom".equals(fromWxid))){
logger.info("消息以评开头,处理评价指令消息");
jdUtils.sendOrderToWxByOrderP(msg.replace("", ""), fromWxid);
return;
}
if (msg.startsWith("")) {
logger.info("消息以拼开头,处理拼多多指令消息");