Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 9.1k
微信小店订单详情接口新增会员权益等优惠金额字段#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
Uh oh!
There was an error while loading. Please reload this page.
微信小店订单详情接口新增会员权益等优惠金额字段 #3767
Changes from all commits
41d19b2a82e8714c84add5cd011dd33a9ccb954207a75d62dc229c30d84176ee4e55ff0943a0eFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| package me.chanjar.weixin.channel.bean.order; | ||
| import com.fasterxml.jackson.annotation.JsonProperty; | ||
| import lombok.Data; | ||
| import lombok.NoArgsConstructor; | ||
| import java.io.Serializable; | ||
| /** | ||
| * 更换sku信息 | ||
| */ | ||
| @Data | ||
| @NoArgsConstructor | ||
| public class ChangeSkuInfo implements Serializable { | ||
| private static final long serialVersionUID = 8783442929429377519L; | ||
| /** | ||
| * 发货前更换sku状态。3:等待商家处理,4:商家审核通过,5:商家拒绝,6:用户主动取消,7:超时默认拒绝 | ||
| */ | ||
| @JsonProperty("preshipment_change_sku_state") | ||
| private Integer preshipmentChangeSkuState; | ||
| /** | ||
| * 原sku_id | ||
| */ | ||
| @JsonProperty("old_sku_id") | ||
| private String oldSkuId; | ||
| /** | ||
| * 用户申请更换的sku_id | ||
| */ | ||
| @JsonProperty("new_sku_id") | ||
| private String newSkuId; | ||
| /** | ||
| * 商家处理请求的最后时间,只有当前换款请求处于"等待商家处理"才有值 | ||
| */ | ||
| @JsonProperty("ddl_time_stamp") | ||
| private Integer deadlineTimeStamp; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| package me.chanjar.weixin.channel.bean.order; | ||
| import com.fasterxml.jackson.annotation.JsonProperty; | ||
| import lombok.Data; | ||
| import lombok.NoArgsConstructor; | ||
| import java.io.Serializable; | ||
| /** | ||
| * 代发相关信息 | ||
| */ | ||
| @Data | ||
| @NoArgsConstructor | ||
| public class DropshipInfo implements Serializable { | ||
| private static final long serialVersionUID = -4562618835611282016L; | ||
| /** | ||
| * 代发单号 | ||
| */ | ||
| @JsonProperty("ds_order_id") | ||
| private Long dsOrderId; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| package me.chanjar.weixin.channel.bean.order; | ||
| import com.fasterxml.jackson.annotation.JsonProperty; | ||
| import lombok.Data; | ||
| import lombok.NoArgsConstructor; | ||
| import java.io.Serializable; | ||
| import java.util.List; | ||
| /** | ||
| * 赠品信息 | ||
| */ | ||
| @Data | ||
| @NoArgsConstructor | ||
| public class FreeGiftInfo implements Serializable { | ||
| private static final long serialVersionUID = 2024061212345678901L; | ||
| /** | ||
| * 赠品对应的主品信息 | ||
| */ | ||
| @JsonProperty("main_product_list") | ||
| private List<MainProductInfo> mainProductList; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| package me.chanjar.weixin.channel.bean.order; | ||
| import com.fasterxml.jackson.annotation.JsonProperty; | ||
| import lombok.Data; | ||
| import lombok.NoArgsConstructor; | ||
| import java.io.Serializable; | ||
| /** | ||
| * 赠品对应的主品信息 | ||
| */ | ||
| @Data | ||
| @NoArgsConstructor | ||
| public class MainProductInfo implements Serializable { | ||
| private static final long serialVersionUID = 2024061212345678901L; | ||
| /** | ||
| * 赠品数量 | ||
| */ | ||
| @JsonProperty("gift_cnt") | ||
| private Integer giftCnt; | ||
| /** | ||
| * 活动id | ||
| */ | ||
| @JsonProperty("task_id") | ||
| private Integer taskId; | ||
| /** | ||
| * 商品id | ||
| */ | ||
| @JsonProperty("product_id") | ||
| private Integer productId; | ||
| /** | ||
| * 主品sku_id | ||
| */ | ||
| @JsonProperty("sku_id") | ||
| private Integer skuId; | ||
binarywang marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| } | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -107,4 +107,34 @@ public class OrderPriceInfo implements Serializable { | ||||||
| @JsonProperty("finder_discounted_price") | ||||||
| private Integer finderDiscountedPrice; | ||||||
| /** | ||||||
| * 订单维度会员权益优惠金额 | ||||||
CopilotAI | ||||||
| * 订单维度会员权益优惠金额 | |
| * 订单维度会员权益优惠金额,单位为分 |
CopilotAINov 27, 2025
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.
优惠金额字段的注释应包含单位信息。建议将注释改为:"订单维度国补优惠金额,单位为分",与同文件中其他金额字段的注释风格保持一致。
| * 订单维度国补优惠金额 | |
| * 订单维度国补优惠金额,单位为分 |
CopilotAINov 27, 2025
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.
serialVersionUID值与其他类重复。此值-4562618835611282016L已被OrderInfo.java、MainProductInfo.java和FreeGiftInfo.java使用。每个实现Serializable的类都应该有唯一的serialVersionUID以确保正确的序列化和反序列化。建议为此类生成一个新的唯一值。