🎨 【视频号】小店商品对象增加售后字段,【企业微信】获取客服账号列表接口 增加是否有管理权限的字段

This commit is contained in:
Boris 2024-05-09 00:21:51 +08:00 committed by GitHub
parent 47dba7f04f
commit 40936c9d86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 47 additions and 0 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -50,6 +50,12 @@ public class WxCpKfAccountListResp extends WxCpBaseResp {
*/
@SerializedName("avatar")
private String avatar;
/**
* 当前调用接口的应用身份是否有该客服账号的管理权限编辑客服账号信息分配会话和收发消息组件应用不返回此字段
*/
@SerializedName("manage_privilege")
private Boolean hasManagePrivilege;
}
/**