Skip to content

同步新字段 #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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

同步新字段 #3626

wants to merge 1 commit into from

Conversation

ixqbar
Copy link

@ixqbar ixqbar commented Jun 26, 2025

No description provided.

@binarywang binarywang requested a review from Copilot June 27, 2025 09:59
Copy link

@Copilot Copilot AI left a 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, and miniProgramPath fields in PatternInfo.

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, and miniProgramPath fields in PatternInfo.
    @SerializedName("jump_target")

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

Successfully merging this pull request may close these issues.

1 participant