🎨 修改小程序路由route方法为public,方便自定义context

This commit is contained in:
nadirvishun
2022-08-10 15:53:14 +08:00
committed by GitHub
parent 52471fce89
commit ab26565377

View File

@ -107,7 +107,7 @@ public class WxMaMessageRouter {
/** /**
* 处理微信消息. * 处理微信消息.
*/ */
private WxMaXmlOutMessage route(final WxMaMessage wxMessage, final Map<String, Object> context) { public WxMaXmlOutMessage route(final WxMaMessage wxMessage, final Map<String, Object> context) {
if (isMsgDuplicated(wxMessage)) { if (isMsgDuplicated(wxMessage)) {
// 如果是重复消息,那么就不做处理 // 如果是重复消息,那么就不做处理
return null; return null;