/** * @author songxiwen * @date 2020/12/15 15:52 * @description http://www.kdniao.com/api-track */ export type ExpressSystemRequestType = { // 请求内容需进行URL(utf-8)编码。请求内容JSON格式,须和DataType一致。 RequestData: string; // 商户ID,请在我的服务页面查看。 EBusinessID: string; // 请求指令类型:1002 RequestType: string; // 数据内容签名:把(请求内容(未编码)+AppKey)进行MD5加密,然后Base64编码,最后 进行URL(utf-8)编码。 DataSign: string; // 请求、返回数据类型:2-json; DataType?: string; }; export type ExpressTraceRequestType = { // 订单编号 OrderCode?: string; // 快递公司编码 ShipperCode: string; // 物流单号 LogisticCode: string; // 调用者id callerId: string; // 调用者身份 admin user customer callerRole: string; }; export type ExpressTraceResponseType = { // 时间 AcceptTime: string; // 描述 AcceptStation: string; // 备注 Remark?: string; }; export type ExpressResponseType = { // 用户ID EBusinessID: string; // 物流轨迹数组 Traces?: ExpressTraceResponseType[]; // 订单编号 OrderCode?: string; // 快递公司编码 ShipperCode: string; // 物流运单号 LogisticCode: string; // 成功与否 Success?: boolean; // 物流状态:2-在途中,3-签收,4-问题件 State: string; // 失败原因 Reason?: string; };