Skip to content

🎨 【视频号】新增微信小店获取售后单接口换货参数 #3609

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2025
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,35 @@
package me.chanjar.weixin.channel.bean.after;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import lombok.Data;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.AddressInfo;

/**
* 换货类型的发货物流信息
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
public class AfterSaleExchangeDeliveryInfo implements Serializable {

private static final long serialVersionUID = 3039216368034112038L;

/** 快递单号 */
@JsonProperty("waybill_id")
private String waybillId;

/** 物流公司id */
@JsonProperty("delivery_id")
private String deliveryId;

/** 物流公司名称 */
@JsonProperty("delivery_name")
private String deliveryName;

/** 地址信息 */
@JsonProperty("address_info")
private AddressInfo addressInfo;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
package me.chanjar.weixin.channel.bean.after;

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

/**
* 换货商品信息
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
public class AfterSaleExchangeProductInfo implements Serializable {

private static final long serialVersionUID = -1341436607011117854L;

/** 商品spuid */
@JsonProperty("product_id")
private String productId;

/** 旧商品skuid */
@JsonProperty("old_sku_id")
private String oldSkuId;

/** 新商品skuid */
@JsonProperty("new_sku_id")
private String newSkuId;

/** 数量 */
@JsonProperty("product_cnt")
private String productCnt;
}
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,16 @@ public class AfterSaleInfo implements Serializable {
/** 仅在待商家审核退款退货申请或收货期间返回,表示操作剩余时间(秒数)*/
@JsonProperty("deadline")
private Long deadline;

/** 售后换货商品信息 */
@JsonProperty("exchange_product_info")
private AfterSaleExchangeProductInfo exchangeProductInfo;

/** 售后换货物流信息 */
@JsonProperty("exchange_delivery_info")
private AfterSaleExchangeDeliveryInfo exchangeDeliveryInfo;

/** 售后换货虚拟号码信息 */
@JsonProperty("virtual_tel_num_info")
private AfterSaleVirtualNumberInfo virtualTelNumInfo;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package me.chanjar.weixin.channel.bean.after;

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

/**
* 虚拟号码信息
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
public class AfterSaleVirtualNumberInfo implements Serializable {
private static final long serialVersionUID = -5756618937333859985L;

/** 虚拟号码 */
@JsonProperty("virtual_tel_number")
private String virtualTelNumber;

/** 虚拟号码过期时间 */
@JsonProperty("virtual_tel_expire_time")
private Long virtualTelExpireTime;

}