-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
fix: 小程序纯签约移除version参数 #4073
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
base: develop
Are you sure you want to change the base?
fix: 小程序纯签约移除version参数 #4073
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -100,21 +100,6 @@ public class WxMaEntrustRequest extends BaseWxPayRequest { | |
| @XStreamAlias("notify_url") | ||
| private String notifyUrl; | ||
|
|
||
| /** | ||
| * <pre> | ||
| * 版本号 | ||
| * sign | ||
| * 是 | ||
| * string(8) | ||
| * 1.0 | ||
| * 固定值1.0 | ||
| * </pre> | ||
| */ | ||
| @Required | ||
| @XStreamAlias("version") | ||
| private String version; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/request/WxMaEntrustRequest.java:115 Severity: medium 🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage. |
||
|
|
||
|
|
||
| /** | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| * <pre> | ||
| * 时间戳 | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/request/WxMaEntrustRequest.java:114
本次变更会影响
maSign生成的签名与输出参数,当前WxEntrustPapServiceTest#testMaSign没有断言(例如确认 json 中不再包含version),可能难以及时发现回归。Severity: low
🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.