【功能修复】快递鸟顺丰查询需要CustomerName
This commit is contained in:
parent
9b2ec3d341
commit
96bffc4199
|
@ -28,4 +28,9 @@ public class ExpressTrackQueryReqDTO {
|
|||
*/
|
||||
private String phone;
|
||||
|
||||
/**
|
||||
* 自定义名称(顺丰专用)
|
||||
*/
|
||||
private String customerName;
|
||||
|
||||
}
|
||||
|
|
|
@ -29,4 +29,10 @@ public class KdNiaoExpressQueryReqDTO {
|
|||
@JsonProperty("OrderCode")
|
||||
private String orderNo;
|
||||
|
||||
/**
|
||||
* 自定义名称(顺丰专用)
|
||||
*/
|
||||
@JsonProperty("CustomerName")
|
||||
private String customerName;
|
||||
|
||||
}
|
||||
|
|
|
@ -219,7 +219,7 @@ public class TradeOrderQueryServiceImpl implements TradeOrderQueryService {
|
|||
public List<ExpressTrackRespDTO> getExpressTrackList(String code, String logisticsNo, String receiverMobile) {
|
||||
return expressClientFactory.getDefaultExpressClient().getExpressTrackList(
|
||||
new ExpressTrackQueryReqDTO().setExpressCode(code).setLogisticsNo(logisticsNo)
|
||||
.setPhone(receiverMobile));
|
||||
.setPhone(receiverMobile).setCustomerName(StrUtil.subSuf(receiverMobile, receiverMobile.length() - 4)));
|
||||
}
|
||||
|
||||
// =================== Order Item ===================
|
||||
|
|
Loading…
Reference in New Issue