mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-02-18 22:26:22 +08:00
🆕 #2249 【小程序】增加自定义组件之商家入驻相关接口
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
package cn.binarywang.wx.miniapp.bean.shop;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author liming1019
|
||||
* @date 2021/8/9
|
||||
*/
|
||||
@Data
|
||||
public class WxMaShopAccountGetBrandListItem implements Serializable {
|
||||
private static final long serialVersionUID = -8889271375365538573L;
|
||||
|
||||
/**
|
||||
* 品牌ID
|
||||
*/
|
||||
@SerializedName("brand_id")
|
||||
private Long brandId;
|
||||
|
||||
/**
|
||||
* 品牌名称
|
||||
*/
|
||||
@SerializedName("brand_wording")
|
||||
private String brandWording;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
package cn.binarywang.wx.miniapp.bean.shop;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author liming1019
|
||||
* @date 2021/8/9
|
||||
*/
|
||||
@Data
|
||||
public class WxMaShopAccountGetCategoryListItem implements Serializable {
|
||||
private static final long serialVersionUID = -6574489801942310752L;
|
||||
|
||||
/**
|
||||
* 一级类目ID
|
||||
*/
|
||||
@SerializedName("first_cat_id")
|
||||
private Long firstCatId;
|
||||
/**
|
||||
* 二级类目ID
|
||||
*/
|
||||
@SerializedName("second_cat_id")
|
||||
private Long secondCatId;
|
||||
/**
|
||||
* 类目ID
|
||||
*/
|
||||
@SerializedName("third_cat_id")
|
||||
private Long thirdCatId;
|
||||
/**
|
||||
* 一级类目名称
|
||||
*/
|
||||
@SerializedName("first_cat_name")
|
||||
private String firstCatName;
|
||||
/**
|
||||
* 二级类目名称
|
||||
*/
|
||||
@SerializedName("second_cat_name")
|
||||
private String secondCatName;
|
||||
|
||||
/**
|
||||
* 类目名称
|
||||
*/
|
||||
@SerializedName("third_cat_name")
|
||||
private String thirdCatName;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
package cn.binarywang.wx.miniapp.bean.shop;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author liming1019
|
||||
* @date 2021/8/9
|
||||
*/
|
||||
@Data
|
||||
public class WxMaShopAccountGetInfo implements Serializable {
|
||||
/**
|
||||
* 品牌ID
|
||||
*/
|
||||
@SerializedName("brand_id")
|
||||
private Long brandId;
|
||||
|
||||
/**
|
||||
* 品牌名称
|
||||
*/
|
||||
@SerializedName("brand_wording")
|
||||
private String brandWording;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
package cn.binarywang.wx.miniapp.bean.shop;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author liming1019
|
||||
* @date 2021/8/9
|
||||
*/
|
||||
@Data
|
||||
public class WxMaShopCatGetDetail implements Serializable {
|
||||
private static final long serialVersionUID = -3404372682043466685L;
|
||||
|
||||
/**
|
||||
* 类目ID
|
||||
*/
|
||||
@SerializedName("third_cat_id")
|
||||
private Long thirdCatId;
|
||||
|
||||
/**
|
||||
* 类目名称
|
||||
*/
|
||||
@SerializedName("third_cat_name")
|
||||
private String thirdCatName;
|
||||
|
||||
/**
|
||||
* 类目资质
|
||||
*/
|
||||
@SerializedName("qualification")
|
||||
private String qualification;
|
||||
|
||||
/**
|
||||
* 类目资质类型,0:不需要,1:必填,2:选填
|
||||
*/
|
||||
@SerializedName("qualification_type")
|
||||
private Integer qualificationType;
|
||||
|
||||
/**
|
||||
* 商品资质
|
||||
*/
|
||||
@SerializedName("product_qualification")
|
||||
private String productQualification;
|
||||
|
||||
/**
|
||||
* 商品资质类型,0:不需要,1:必填,2:选填
|
||||
*/
|
||||
@SerializedName("product_qualification_type")
|
||||
private Integer productQualificationType;
|
||||
|
||||
/**
|
||||
* 一级类目ID
|
||||
*/
|
||||
@SerializedName("first_cat_id")
|
||||
private Long firstCatId;
|
||||
|
||||
/**
|
||||
* 一级类目名称
|
||||
*/
|
||||
@SerializedName("first_cat_name")
|
||||
private String firstCatName;
|
||||
|
||||
/**
|
||||
* 二级类目ID
|
||||
*/
|
||||
@SerializedName("second_cat_id")
|
||||
private Long secondCatId;
|
||||
|
||||
/**
|
||||
* 二级类目名称
|
||||
*/
|
||||
@SerializedName("second_cat_name")
|
||||
private String secondCatName;
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
package cn.binarywang.wx.miniapp.bean.shop.request;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author liming1019
|
||||
* @date 2021/8/9
|
||||
*/
|
||||
@Data
|
||||
public class WxMaShopAccountUpdateInfoRequest implements Serializable {
|
||||
private static final long serialVersionUID = 5185978220275730559L;
|
||||
/**
|
||||
* 小程序path
|
||||
*/
|
||||
@SerializedName("service_agent_path")
|
||||
private String serviceAgentPath;
|
||||
|
||||
/**
|
||||
* 小程序path
|
||||
*/
|
||||
@SerializedName("service_agent_phone")
|
||||
private String serviceAgentPhone;
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package cn.binarywang.wx.miniapp.bean.shop.response;
|
||||
|
||||
import cn.binarywang.wx.miniapp.bean.shop.WxMaShopAccountGetBrandListItem;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author liming1019
|
||||
* @date 2021/8/9
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class WxMaShopAccountGetBrandListResponse extends WxMaShopBaseResponse implements Serializable {
|
||||
private static final long serialVersionUID = -5196210913054514206L;
|
||||
|
||||
@SerializedName("data")
|
||||
private List<WxMaShopAccountGetBrandListItem> items;
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package cn.binarywang.wx.miniapp.bean.shop.response;
|
||||
|
||||
import cn.binarywang.wx.miniapp.bean.shop.WxMaShopAccountGetCategoryListItem;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author liming1019
|
||||
* @date 2021/8/9
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class WxMaShopAccountGetCategoryListResponse extends WxMaShopBaseResponse implements Serializable {
|
||||
private static final long serialVersionUID = -3182300077261435356L;
|
||||
|
||||
@SerializedName("data")
|
||||
private List<WxMaShopAccountGetCategoryListItem> items;
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package cn.binarywang.wx.miniapp.bean.shop.response;
|
||||
|
||||
import cn.binarywang.wx.miniapp.bean.shop.WxMaShopAccountGetInfo;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author liming1019
|
||||
* @date 2021/8/9
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class WxMaShopAccountGetInfoResponse extends WxMaShopBaseResponse implements Serializable {
|
||||
private static final long serialVersionUID = -3954383181691898592L;
|
||||
|
||||
@SerializedName("data")
|
||||
private WxMaShopAccountGetInfo data;
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package cn.binarywang.wx.miniapp.bean.shop.response;
|
||||
|
||||
import cn.binarywang.wx.miniapp.bean.shop.WxMaShopCatGetDetail;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author liming1019
|
||||
* @date 2021/8/9
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class WxMaShopCatGetResponse extends WxMaShopBaseResponse implements Serializable {
|
||||
private static final long serialVersionUID = -2565959470798387313L;
|
||||
|
||||
@SerializedName("third_cat_list")
|
||||
private List<WxMaShopCatGetDetail> thirdCatList;
|
||||
}
|
||||
Reference in New Issue
Block a user