Skip to content

Conversation

@hyf1844
Copy link
Contributor

@hyf1844 hyf1844 commented Nov 27, 2025

微信小店订单详情接口新增会员权益等优惠金额字段

@binarywang binarywang requested a review from Copilot November 27, 2025 12:47
Copilot finished reviewing on behalf of binarywang November 27, 2025 12:51
Copy link

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

此 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 和处理截止时间

binarywang and others added 10 commits November 27, 2025 23:06
…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>
@binarywang binarywang merged commit 7fcd1ed into binarywang:develop Nov 27, 2025
@binarywang binarywang added this to the 4.7.9 milestone Nov 27, 2025
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.

2 participants