◐ Shell
clean mode source ↗

增加了小程序同城配送接口和WxMaService增加了API签名支持 by gexiangdong · Pull Request #3404 · binarywang/WxJava

同城配送接口: 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 是写给使用者设置签名的