Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package me.chanjar.weixin.channel.bean.product;


import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* 商品售后信息
*/
@Data
@NoArgsConstructor
public class AfterSaleInfo implements Serializable {


/**
* 商品的售后地址id,可使用获取地址详情
*/
@JsonProperty("after_sale_address_id")
private Long afterSaleAddressId;
}
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,23 @@ public class SpuInfo extends SpuSimpleInfo {
@JsonProperty("create_time")
private String createTime;

/**
* 商品草稿最近一次修改时间
*/
@JsonProperty("edit_time")
private Long editTime;

/**
* 商品类型。1: 小店普通自营商品;2: 福袋抽奖商品;3: 直播间闪电购商品。
* 注意: 福袋抽奖、直播间闪电购类型的商品为只读数据,不支持编辑、上架操作,不支持用data_type=2的参数获取。
*/
@JsonProperty("product_type")
private Integer productType;


/**
* 商品的售后信息
*/
@JsonProperty("after_sale_info")
private AfterSaleInfo afterSaleInfo;
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ public static class AccountListDTO {
*/
@SerializedName("avatar")
private String avatar;

/**
* 当前调用接口的应用身份,是否有该客服账号的管理权限(编辑客服账号信息、分配会话和收发消息)。组件应用不返回此字段
*/
@SerializedName("manage_privilege")
private Boolean hasManagePrivilege;
}

/**
Expand Down