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

修复公众号模板消息发送时pagepath问题 #479

Closed
binarywang opened this issue Mar 5, 2018 · 5 comments
Closed

修复公众号模板消息发送时pagepath问题 #479

binarywang opened this issue Mar 5, 2018 · 5 comments
Labels

Comments

@binarywang
Copy link
Owner

binarywang commented Mar 5, 2018

https://mp.weixin.qq.com/wiki?action=doc&id=mp1433751277&t=0.8724972468714212#5
官方接口文档中的参数名称错误(文档中为 pagepath,实际应为 path)

@binarywang binarywang changed the title 修复公众号菜单pagepath问题 修复公众号模板消息发送时pagepath问题 Mar 5, 2018
@binarywang binarywang added the bug label Mar 11, 2018
@binarywang
Copy link
Owner Author

2.9.8.BETA版本已修复

@vekbug
Copy link

vekbug commented Jan 23, 2019

https://mp.weixin.qq.com/wiki?action=doc&id=mp1433751277&t=0.8724972468714212#5
现在模板消息中小程序的 pagepath 得问题已经修正了,默认是不是要改成 pagepath 啊

@binarywang
Copy link
Owner Author

你这个看的不知道是哪一年的代码,很老了,你看下现在的代码是什么?

@oubeichen
Copy link

oubeichen commented Jun 19, 2019

https://github.com/Wechat-Group/WxJava/blob/06085f0a1ac53ef66f9cc6e23a638d807063a967/weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/template/WxMpTemplateMessage.java#L86

我看了默认 usePath 是 True,而现在应该是用 pagepath,这个参数应该默认是 False 才好。

@binarywang
Copy link
Owner Author

https://github.com/Wechat-Group/WxJava/blob/06085f0a1ac53ef66f9cc6e23a638d807063a967/weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/template/WxMpTemplateMessage.java#L86

我看了默认 usePath 是 True,而现在应该是用 pagepath,这个参数应该默认是 False 才好。

那你自己手动赋值就可以了,这个微信变来变去真不好说哪天又变了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants