From af66f9797b42ae81f831d1fbf91a59463a569956 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期四, 17 十一月 2022 19:29:36 +0800
Subject: [PATCH] 拼多多接口修改

---
 fanli/src/main/java/com/yeshi/fanli/util/goods/douyin/vo/DYGoods.java |   76 +++++++++++++++++++------------------
 1 files changed, 39 insertions(+), 37 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/util/goods/douyin/vo/DYGoods.java b/fanli/src/main/java/com/yeshi/fanli/util/goods/douyin/vo/DYGoods.java
index fe21910..a1b8492 100644
--- a/fanli/src/main/java/com/yeshi/fanli/util/goods/douyin/vo/DYGoods.java
+++ b/fanli/src/main/java/com/yeshi/fanli/util/goods/douyin/vo/DYGoods.java
@@ -1,12 +1,14 @@
 package com.yeshi.fanli.util.goods.douyin.vo;
 
+import com.yeshi.fanli.entity.goods.BaseGoodsInfo;
+
 /**
  * @author hxh
  * @title: DYGoods
  * @description: 鎶栭煶鍟嗗搧淇℃伅
  * @date 2022/9/28 10:14
  */
-public class DYGoods {
+public class DYGoods extends BaseGoodsInfo {
     /**
      * product_id : 3566898027765626183
      * title : 鍗冨彲鍑�灏忕櫧闉嬩笓鐢ㄥ幓姹¤啅涓嶄激鎵嬪甫娴风坏鎿﹀幓姹℃笉鑶�
@@ -29,7 +31,7 @@
    /**
     * 鍟嗗搧id
     **/
-    private long product_id;
+    private Long product_id;
     /**
      * 鍟嗗搧鍚嶇О
      **/
@@ -37,31 +39,31 @@
     /**
      * 鍦ㄧ┛饧敳涓婃槸鍚︽湁杈锯紙鐗规畩浣b睛
      **/
-    private boolean is_kol_product;
+    private Boolean is_kol_product;
     /**
      * 鍟嗗搧浠锋牸锛屽崟浣嶅垎
      **/
-    private long price;
+    private Long price;
     /**
      * 鍟嗗搧饧�绾х被饨�
      **/
-    private long first_cid;
+    private Long first_cid;
     /**
      * 鍟嗗搧饧嗙骇绫烩浆
      **/
-    private long second_cid;
+    private Long second_cid;
     /**
      * 鍟嗗搧涓夌骇绫烩浆
      **/
-    private long third_cid;
+    private Long third_cid;
     /**
      * 鏈夆絾搴撳瓨
      **/
-    private boolean in_stock;
+    private Boolean in_stock;
     /**
      * 鍟嗗搧鍘嗗彶閿�閲�
      **/
-    private int sales;
+    private Integer sales;
     /**
      * 鍟嗗搧涓诲浘
      **/
@@ -73,7 +75,7 @@
     /**
      * 鍟嗛摵id
      **/
-    private long shop_id;
+    private Long shop_id;
     /**
      * 鍟嗛摵鍚嶇О
      **/
@@ -82,27 +84,27 @@
      * 鍒稿悗浠锋牸锛屽崟浣嶅垎锛�0鎴栬�呮病浼犲垯涓�
      * 鍘熶环锛�
      **/
-    private long coupon_price;
+    private Long coupon_price;
     /**
      * 鍒嗕剑饨愪緥锛岀櫨鍒嗏綈涔樹互 100锛屸綈濡�
      * 1% 杩斿洖 1*100 = 100
      **/
-    private int cos_ratio;
+    private Integer cos_ratio;
     /**
      * 浣b睛饩﹂锛屽崟浣嶅垎
      **/
-    private int cos_fee;
+    private Integer cos_fee;
     /**
      * 饧�涓姞瀵嗗瓧娈碉紝闇�瑕佸湪杞摼鎺モ紳褰�
      * 涓洖浼�
      **/
     private String ext;
 
-    public long getProduct_id() {
+    public Long getProduct_id() {
         return product_id;
     }
 
-    public void setProduct_id(long product_id) {
+    public void setProduct_id(Long product_id) {
         this.product_id = product_id;
     }
 
@@ -114,59 +116,59 @@
         this.title = title;
     }
 
-    public boolean isIs_kol_product() {
+    public Boolean isIs_kol_product() {
         return is_kol_product;
     }
 
-    public void setIs_kol_product(boolean is_kol_product) {
+    public void setIs_kol_product(Boolean is_kol_product) {
         this.is_kol_product = is_kol_product;
     }
 
-    public long getPrice() {
+    public Long getPrice() {
         return price;
     }
 
-    public void setPrice(long price) {
+    public void setPrice(Long price) {
         this.price = price;
     }
 
-    public long getFirst_cid() {
+    public Long getFirst_cid() {
         return first_cid;
     }
 
-    public void setFirst_cid(long first_cid) {
+    public void setFirst_cid(Long first_cid) {
         this.first_cid = first_cid;
     }
 
-    public long getSecond_cid() {
+    public Long getSecond_cid() {
         return second_cid;
     }
 
-    public void setSecond_cid(long second_cid) {
+    public void setSecond_cid(Long second_cid) {
         this.second_cid = second_cid;
     }
 
-    public long getThird_cid() {
+    public Long getThird_cid() {
         return third_cid;
     }
 
-    public void setThird_cid(long third_cid) {
+    public void setThird_cid(Long third_cid) {
         this.third_cid = third_cid;
     }
 
-    public boolean isIn_stock() {
+    public Boolean isIn_stock() {
         return in_stock;
     }
 
-    public void setIn_stock(boolean in_stock) {
+    public void setIn_stock(Boolean in_stock) {
         this.in_stock = in_stock;
     }
 
-    public int getSales() {
+    public Integer getSales() {
         return sales;
     }
 
-    public void setSales(int sales) {
+    public void setSales(Integer sales) {
         this.sales = sales;
     }
 
@@ -186,11 +188,11 @@
         this.detail_url = detail_url;
     }
 
-    public long getShop_id() {
+    public Long getShop_id() {
         return shop_id;
     }
 
-    public void setShop_id(long shop_id) {
+    public void setShop_id(Long shop_id) {
         this.shop_id = shop_id;
     }
 
@@ -202,27 +204,27 @@
         this.shop_name = shop_name;
     }
 
-    public long getCoupon_price() {
+    public Long getCoupon_price() {
         return coupon_price;
     }
 
-    public void setCoupon_price(long coupon_price) {
+    public void setCoupon_price(Long coupon_price) {
         this.coupon_price = coupon_price;
     }
 
-    public int getCos_ratio() {
+    public Integer getCos_ratio() {
         return cos_ratio;
     }
 
-    public void setCos_ratio(int cos_ratio) {
+    public void setCos_ratio(Integer cos_ratio) {
         this.cos_ratio = cos_ratio;
     }
 
-    public int getCos_fee() {
+    public Integer getCos_fee() {
         return cos_fee;
     }
 
-    public void setCos_fee(int cos_fee) {
+    public void setCos_fee(Integer cos_fee) {
         this.cos_fee = cos_fee;
     }
 

--
Gitblit v1.8.0