重构评论
This commit is contained in:
@@ -123,13 +123,13 @@ public class WxMessageConsumer {
|
||||
logger.info("不是白名单群聊,不处理");
|
||||
return;
|
||||
}
|
||||
if (msg.startsWith("评")) {
|
||||
if (("47484514467@chatroom".equals(fromWxid))) {
|
||||
logger.info("消息以评开头,处理评价指令消息");
|
||||
jdUtils.sendOrderToWxByOrderP(msg.replace("评", ""), fromWxid);
|
||||
return;
|
||||
}
|
||||
|
||||
if (("47484514467@chatroom".equals(fromWxid))) {
|
||||
logger.info("消息以评开头,处理评价指令消息");
|
||||
jdUtils.sendOrderToWxByOrderP(msg.replace("评", ""), fromWxid);
|
||||
return;
|
||||
}
|
||||
|
||||
logger.info("未命中前置指令,开始命中 Default 流程");
|
||||
jdUtils.sendOrderToWxByOrderDefault(msg, fromWxid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user