1.4.5 bug修复版本:修复商品详情优惠券不显示,修复后台发货与退款判断冲突,修复公众号提示服务器出现故障的问题
This commit is contained in:
@ -135,7 +135,7 @@ public class WxMpConfiguration {
|
||||
//newRouter.rule().async(false).msgType(EVENT).event(EventType.SCAN).handler(this.scanHandler).end();
|
||||
|
||||
// 默认
|
||||
// newRouter.rule().async(false).handler(this.msgHandler).end();
|
||||
newRouter.rule().async(false).handler(this.msgHandler).end();
|
||||
|
||||
return newRouter;
|
||||
}
|
||||
|
@ -22,7 +22,6 @@ public class MsgHandler extends AbstractHandler {
|
||||
Map<String, Object> context, WxMpService weixinService,
|
||||
WxSessionManager sessionManager) {
|
||||
|
||||
this.logger.info("hupeng");
|
||||
if (!wxMessage.getMsgType().equals(XmlMsgType.EVENT)) {
|
||||
//TODO 可以选择将消息保存到本地
|
||||
}
|
||||
@ -41,7 +40,7 @@ public class MsgHandler extends AbstractHandler {
|
||||
}
|
||||
|
||||
//TODO 组装回复消息
|
||||
String content = "收到信息内容:" + JsonUtils.toJson(wxMessage);
|
||||
String content = "yshop收到信息内容:" + wxMessage.getContent();
|
||||
|
||||
return new TextBuilder().build(content, wxMessage, weixinService);
|
||||
|
||||
|
Reference in New Issue
Block a user