We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
公众号发送模板消息小程序路径是pagepath而不是path
mpService.getTemplateMsgService().sendTemplateMsg(tpltMessage)
WxMpTemplateMessage实例生成的json string中小程序路径的key是path而不是pagepath,导致用户从消息模板跳转到小程序永远是首页而不是指定页面,麻烦尽快解决,谢谢
The text was updated successfully, but these errors were encountered:
还有个参数,你注意下: me.chanjar.weixin.mp.bean.template.WxMpTemplateMessage.MiniProgram 类里的:
me.chanjar.weixin.mp.bean.template.WxMpTemplateMessage.MiniProgram
/** * 是否使用path,否则使用pagepath. * 加入此字段是基于微信官方接口变化多端的考虑 */ private boolean usePath = true;
Sorry, something went wrong.
谢谢,由于个人的疏忽,少看了usePath这个参数,问题解决了,开心~~~
🎨 #1367 公众号发送模板消息小程序类usePath属性默认值设为false,方便生成目前官方确定的正确参数pagepath
3ccc278
No branches or pull requests
简要描述
公众号发送模板消息小程序路径是pagepath而不是path
模块版本情况
详细描述
公众号发送模板消息小程序路径是pagepath而不是path
WxMpTemplateMessage实例生成的json string中小程序路径的key是path而不是pagepath,导致用户从消息模板跳转到小程序永远是首页而不是指定页面,麻烦尽快解决,谢谢
The text was updated successfully, but these errors were encountered: