增加了小程序同城配送接口和WxMaService增加了API签名支持#3404
Merged
binarywang merged 4 commits intobinarywang:developfrom Oct 31, 2024
Merged
Conversation
Owner
|
https://gitee.com/binary/weixin-java-tools/issues/IB254H 楼主你提交的代码有bug,麻烦尽快处理下,非常感谢! |
Owner
|
另外请看下置顶区的issue,如果感兴趣的话,与我联系,加入开发组 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
同城配送接口: https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/industry/express/business/intracity_service.html
里面的2.1-2.15共15接口都有支持
同城配送需要开启API加密和签名,在BaseWxMaServiceImpl增加了 postWithSignature方法,来加密数据和签名并解密响应。
小程序开启加密签名后,有些接口可选走加密签名路径,这些整理在BaseWxMaServiceImpl.urlPathSupportApiSignature数组中,这些调用post后,如果已经配置加密用密钥,会自动走加密路径。
开放平台也增加了加密签名的设置
另外 weixin-java-miniapp/api-signature-readme.md 是写给使用者设置签名的