-
-
Notifications
You must be signed in to change notification settings - Fork 9k
微信小店订单详情接口新增会员权益等优惠金额字段 #3767
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
Merged
Merged
微信小店订单详情接口新增会员权益等优惠金额字段 #3767
Conversation
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
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
此 Pull Request 为微信小店订单详情接口添加了新的优惠金额字段,主要涉及会员权益、一起买、国补、平台券和地方补贴等多种优惠类型的支持。
主要变更:
- 在订单和商品维度分别新增了多种优惠金额字段(会员权益、一起买、国补、平台券、地方补贴等)
- 新增了四个支持类用于处理赠品信息、SKU 更换信息和代发信息
- 扩展了优惠券信息类,增加了优惠券类型和优惠金额字段
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 14 comments.
Show a summary per file
| File | Description |
|---|---|
| OrderProductInfo.java | 修正了达人优惠金额的注释,并新增了 8 个字段以支持各类优惠、赠品、SKU 更换等信息 |
| OrderPriceInfo.java | 在订单维度新增了 5 个优惠金额字段(会员权益、一起买、国补、平台券、地方补贴) |
| OrderCouponInfo.java | 新增了优惠券类型、优惠金额和优惠券 ID 字段,完善了优惠券信息结构 |
| MainProductInfo.java | 新增类,用于表示赠品对应的主品信息,包含商品 ID、SKU ID、活动 ID 和赠品数量 |
| FreeGiftInfo.java | 新增类,用于封装赠品信息及其对应的主品列表 |
| DropshipInfo.java | 新增类,用于处理代发相关信息,包含代发单号 |
| ChangeSkuInfo.java | 新增类,用于处理发货前更换 SKU 的相关信息,包含状态、原 SKU、新 SKU 和处理截止时间 |
weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/order/OrderProductInfo.java
Outdated
Show resolved
Hide resolved
weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/order/OrderProductInfo.java
Outdated
Show resolved
Hide resolved
weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/order/OrderProductInfo.java
Outdated
Show resolved
Hide resolved
weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/order/MainProductInfo.java
Show resolved
Hide resolved
weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/order/FreeGiftInfo.java
Outdated
Show resolved
Hide resolved
weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/order/OrderPriceInfo.java
Outdated
Show resolved
Hide resolved
weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/order/OrderPriceInfo.java
Outdated
Show resolved
Hide resolved
weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/order/OrderProductInfo.java
Outdated
Show resolved
Hide resolved
weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/order/FreeGiftInfo.java
Outdated
Show resolved
Hide resolved
weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/order/MainProductInfo.java
Outdated
Show resolved
Hide resolved
…an/order/OrderProductInfo.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…an/order/OrderProductInfo.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…an/order/OrderProductInfo.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…an/order/FreeGiftInfo.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…an/order/OrderPriceInfo.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…an/order/OrderProductInfo.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…an/order/MainProductInfo.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…an/order/FreeGiftInfo.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…an/order/OrderPriceInfo.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…an/order/OrderPriceInfo.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.
微信小店订单详情接口新增会员权益等优惠金额字段