快递鸟接口调整
This commit is contained in:
@ -98,7 +98,11 @@ public class ExpressService implements Serializable {
|
||||
Map<String, Object> params = new HashMap<>();
|
||||
params.put("RequestData", URLEncoder.encode(requestData, "UTF-8"));
|
||||
params.put("EBusinessID", properties.getAppId());
|
||||
params.put("RequestType", "1002");
|
||||
// 快递鸟会员套餐(付费版)自开通当日起一个月(30天)内,免费即时查询接口
|
||||
// (RequestType 为1002)仍可继续请求测试使用,一个月后将关闭测试权限,会员用户(付
|
||||
// 费版会员套餐)需调用在途监控接口(RequestType 为8001)。
|
||||
// params.put("RequestType", "1002");
|
||||
params.put("RequestType", "8001");
|
||||
String dataSign = encrypt(requestData, properties.getAppKey(), "UTF-8");
|
||||
params.put("DataSign", URLEncoder.encode(dataSign, "UTF-8"));
|
||||
params.put("DataType", "2");
|
||||
|
@ -41,6 +41,12 @@ public class ExpressInfo {
|
||||
@ApiModelProperty(value = "物流状态:2-在途中,3-签收,4-问题件")
|
||||
private String State;
|
||||
|
||||
@JsonProperty("StateEx")
|
||||
private String StateEx;
|
||||
|
||||
@JsonProperty("Location")
|
||||
private String Location;
|
||||
|
||||
@JsonProperty("EBusinessID")
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private String EBusinessID;
|
||||
|
@ -11,12 +11,8 @@ package co.yixiang.modules.tools.express.dao;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
/**
|
||||
* Auto-generated: 2018-07-19 22:27:22
|
||||
*
|
||||
* @author bejson.com (i@bejson.com)
|
||||
* @website http://www.bejson.com/java2pojo/
|
||||
*/
|
||||
import lombok.Data;
|
||||
@Data
|
||||
public class Traces {
|
||||
|
||||
@JsonProperty("AcceptStation")
|
||||
@ -27,20 +23,10 @@ public class Traces {
|
||||
@ApiModelProperty(value = "时间")
|
||||
private String AcceptTime;
|
||||
|
||||
public String getAcceptStation() {
|
||||
return AcceptStation;
|
||||
}
|
||||
@JsonProperty("Action")
|
||||
private String Action;
|
||||
@JsonProperty("Location")
|
||||
private String Location;
|
||||
|
||||
public void setAcceptStation(String AcceptStation) {
|
||||
this.AcceptStation = AcceptStation;
|
||||
}
|
||||
|
||||
public String getAcceptTime() {
|
||||
return AcceptTime;
|
||||
}
|
||||
|
||||
public void setAcceptTime(String AcceptTime) {
|
||||
this.AcceptTime = AcceptTime;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user