Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
binarywang#3295【视频号小店】补充获取订单详情接口返回值
Browse files Browse the repository at this point in the history
imyzt committed Jul 13, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent a3f26d4 commit c0d46be
Showing 2 changed files with 55 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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 c0d46be

Please sign in to comment.