|
|
|
@@ -72,14 +72,7 @@ public class FmOpenService extends WxOpenServiceImpl { |
|
|
|
wxOpenMessageRouter = new WxOpenMessageRouter(this); |
|
|
|
wxOpenMessageRouter.rule().handler((wxMpXmlMessage, map, wxMpService, wxSessionManager) -> { |
|
|
|
String appId = wxMpService.getWxMpConfigStorage().getAppId(); |
|
|
|
WxAuthorizerInfo authorizerInfo = authorizerInfoMapper.findByAppid(appId); |
|
|
|
String appType; |
|
|
|
if(authorizerInfo.getType() <= EnumAppType.C.getCode()) { |
|
|
|
appType = "小程序"; |
|
|
|
} else { |
|
|
|
appType = "公众号"; |
|
|
|
} |
|
|
|
logger.info("\n接收到{}{}请求消息,内容:{}", appId, appType, wxMpXmlMessage); |
|
|
|
logger.info("\n接收到 {} 请求消息,内容:{}", appId, wxMpXmlMessage); |
|
|
|
return null; |
|
|
|
}).next(); |
|
|
|
|
|
|
|
|