Skip to content

Commit

Permalink
🎨 #3295【视频号小店】获取订单详情接口补充部分返回值
Browse files Browse the repository at this point in the history
  • Loading branch information
imyzt authored Jul 15, 2024
1 parent f5bb2ba commit 3a57770
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,22 @@ public class OrderAddressInfo extends AddressInfo {
/** 虚拟发货订单联系方式(deliver_method=1时返回) */
@JsonProperty("virtual_order_tel_number")
private String virtualOrderTelNumber;

/**
* 额外的联系方式信息(虚拟号码相关),具体结构请参考TelNumberExtInfo结构体
*/
@JsonProperty("tel_number_ext_info")
private TelNumberExtInfo telNumberExtInfo;

/**
* 0:不使用虚拟号码,1:使用虚拟号码
*/
@JsonProperty("use_tel_number")
private Integer useTelNumber;

/**
* 标识当前店铺下一个唯一的用户收货地址
*/
@JsonProperty("hash_code")
private String hashCode;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
package me.chanjar.weixin.channel.bean.order;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
* 联系方式信息
*
* @author <a href="https://github.com/imyzt">imyzt</a>
*/
@Data
public class TelNumberExtInfo {

/**
* 脱敏手机号
*/
@JsonProperty("real_tel_number")
private String realTelNumber;

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

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

/**
* 主动兑换虚拟号码次数
*/
@JsonProperty("get_virtual_tel_cnt")
private Long getVirtualTelCnt;
}

0 comments on commit 3a57770

Please sign in to comment.