记得上下班打卡 | git大法好,push需谨慎

Commit 4dac1e1a authored by jiangxiulong's avatar jiangxiulong

test

parent 9d58a536
package com.liquidnet.service.sweet.config;
import com.liquidnet.service.sweet.handler.StrawberryPosterHandler;
import com.liquidnet.service.sweet.handler.SubscribeHandler;
import com.liquidnet.service.sweet.handler.TextMsgHandler;
import com.liquidnet.service.sweet.handler.UnsubscribeHandler;
import com.liquidnet.service.sweet.handler.*;
import me.chanjar.weixin.common.api.WxConsts;
import me.chanjar.weixin.common.api.WxMessageInMemoryDuplicateChecker;
import me.chanjar.weixin.common.redis.RedisTemplateWxRedisOps;
......@@ -70,6 +67,8 @@ public class WechatMpConfigure {
private StrawberryPosterHandler posterHandler;
@Autowired
private TextMsgHandler textMsgHandler;
@Autowired
private TestMsgHandler testMsgHandler;
@PostConstruct
public void init() {
......@@ -153,6 +152,12 @@ public class WechatMpConfigure {
.handler(textMsgHandler)
.end();
// 测试
router.rule().async(false).msgType(WxConsts.XmlMsgType.TEXT)
.content("112233")
.handler(testMsgHandler)
.end();
return router;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment