-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
同步新字段 #3626
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?
同步新字段 #3626
Conversation
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.
Pull Request Overview
This PR introduces support for a new jump target option in card packages, updates background color options, and syncs new fields in the FavorStocksCreateRequest
payload.
- Added a
JumpTargetEnum
to represent card-package jump targets. - Extended
BackgroundColorEnum
with four new color constants. - Introduced
jumpTarget
,miniProgramAppid
, andminiProgramPath
fields inPatternInfo
.
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
File | Description |
---|---|
weixin-java-pay/.../enums/JumpTargetEnum.java | New enum for card-package jump targets |
weixin-java-pay/.../enums/BackgroundColorEnum.java | Added COLOR081, COLOR082, COLOR101, COLOR102 constants |
weixin-java-pay/src/.../FavorStocksCreateRequest.java | Added jumpTarget , miniProgramAppid , miniProgramPath fields to PatternInfo |
Comments suppressed due to low confidence (2)
weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/marketing/enums/JumpTargetEnum.java:32
- The Javadoc for the
value
field says "批次类型" (batch type), which doesn’t match its purpose. It should explain that this field holds the jump target code value, e.g., "跳转目标编码".
*/
weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/marketing/FavorStocksCreateRequest.java:400
- [nitpick] Consider adding or updating unit tests to verify serialization/deserialization of the new
jumpTarget
,miniProgramAppid
, andminiProgramPath
fields inPatternInfo
.
@SerializedName("jump_target")
麻烦准确描述下更新内容,而不是简单的“同步新字段”。 |
https://pay.weixin.qq.com/doc/v3/merchant/4012534633 可选取值: COLOR010: 色值 #63b359 COLOR020: 色值 #2c9f67 COLOR030: 色值 #509fc9 COLOR040: 色值 #5885cf COLOR050: 色值 #9062c0 COLOR060: 色值 #d09a45 COLOR070: 色值 #e4b138 COLOR080: 色值 #ee903c COLOR081: 色值 #f08500 COLOR082: 色值 #a9d92d COLOR090: 色值 #dd6549 COLOR100: 色值 #cc463d COLOR101: 色值 #cf3e36 COLOR102: 色值 #5E6671 |
还需要提供什么内容说明? |
我的意思是提交代码时该写的内容。 |
微信支付营销接口新增字段,包括卡包跳转目标、小程序 appid 与 path等 这个合适吗?如果不完整请补充。 |
No description provided.