Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

微信消息路由器eventKey匹配问题 #281

Closed
Ming-Jie opened this issue Jul 14, 2017 · 3 comments
Closed

微信消息路由器eventKey匹配问题 #281

Ming-Jie opened this issue Jul 14, 2017 · 3 comments

Comments

@Ming-Jie
Copy link

微信中的大部分事件eventKey是固定的,但是扫码渠道二维码的关注事件EventKey是变化的;
<EventKey><![CDATA[qrscene_123123]]></EventKey>

建议添加跟content类似的功能,加上正则匹配模式

@binarywang
Copy link
Owner

为了这一个场景感觉没必要这么支持,毕竟你可以在对应的事件handler里进行判断

@binarywang
Copy link
Owner

不过既然有需求,还是加一个了,新的属性定为:eventKeyRegex

@binarywang
Copy link
Owner

2.7.6.BETA测试版本已支持

comeonc added a commit to comeonc/weixin-java-tools that referenced this issue Jul 19, 2017
…nto develop

* 'develop' of github.com:Wechat-Group/weixin-java-tools:
  发布临时测试版本2.7.6.BETA
  binarywang#178 实现查询代金券批次和信息的接口
  增加会员卡管理服务的`更新会员信息`接口的实现 (binarywang#283)
  binarywang#281 消息路由器增加对EventKey正则表达式匹配的支持
  binarywang#178 实现发送代金券接口
  新增会员卡相关接口 (binarywang#280)
  binarywang#279 统一下单接口参数对象WxPayUnifiedOrderRequest增加fingerprint属性
  update travis settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants