Skip to content

Commit 7a4336d

Browse files
committed
🎨 修复错误的字段定义
1 parent 0e70c89 commit 7a4336d

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed
Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
package me.chanjar.weixin.channel.bean.delivery;
22

33
import com.fasterxml.jackson.annotation.JsonProperty;
4-
import java.io.Serializable;
54
import lombok.Data;
65
import lombok.NoArgsConstructor;
76

7+
import java.io.Serializable;
8+
89
/**
910
* 包裹中商品信息
1011
*
@@ -13,17 +14,23 @@
1314
@Data
1415
@NoArgsConstructor
1516
public class FreightProductInfo implements Serializable {
16-
1717
private static final long serialVersionUID = -3751269707150372172L;
18-
/** 商品id */
18+
19+
/**
20+
* 商品id
21+
*/
1922
@JsonProperty("product_id")
2023
private String productId;
2124

22-
/** sku_id */
25+
/**
26+
* sku_id
27+
*/
2328
@JsonProperty("sku_id")
2429
private String skuId;
2530

26-
/** 商品数量 */
31+
/**
32+
* 商品数量
33+
*/
2734
@JsonProperty("product_cnt")
28-
private String productCnt;
35+
private Integer productCnt;
2936
}

0 commit comments

Comments
 (0)