提交 ce804a2c authored 作者: 张立波's avatar 张立波

淘特

上级 514be1db
...@@ -12,35 +12,37 @@ type logistics struct { ...@@ -12,35 +12,37 @@ type logistics struct {
var Logistics = logistics{} var Logistics = logistics{}
type LogisticsTraceRes struct { type LogisticsTraceRes struct {
Result struct { Success bool `json:"success"`
Result []struct { ErrMsg string `json:"errMsg"`
DetailList []struct { ErrCode string `json:"errCode"`
Action string `json:"action"` Result []struct {
GmtCreate string `json:"gmtCreate"` CompanyList []struct {
StanderdDesc string `json:"standerdDesc"` BrandCode string `json:"brandCode"`
Status string `json:"status"` CompanyName string `json:"companyName"`
Time string `json:"time"` } `json:"companyList"`
MailNo string `json:"mailNo,omitempty"` DetailList []struct {
TpName string `json:"tpName,omitempty"` Action string `json:"action"`
} `json:"detailList"` GmtCreate string `json:"gmtCreate"`
GoodsList []interface{} `json:"goodsList"` StanderdDesc string `json:"standerdDesc"`
MailNo string `json:"mailNo"` Status string `json:"status"`
Receiver struct { Time string `json:"time"`
Adr string `json:"adr"` MailNo string `json:"mailNo,omitempty"`
CityName string `json:"cityName"` TpName string `json:"tpName,omitempty"`
DistrictName string `json:"districtName"` } `json:"detailList"`
Name string `json:"name"` GoodsList []interface{} `json:"goodsList"`
ProvinceName string `json:"provinceName"` MailNo string `json:"mailNo"`
Telphone string `json:"telphone"` Receiver struct {
} `json:"receiver"` Adr string `json:"adr"`
Status struct { CityName string `json:"cityName"`
StatusCode string `json:"statusCode"` DistrictName string `json:"districtName"`
StatusDesc string `json:"statusDesc"` Name string `json:"name"`
} `json:"status"` ProvinceName string `json:"provinceName"`
} `json:"result"` Telphone string `json:"telphone"`
Success bool `json:"success"` } `json:"receiver"`
ErrMsg string `json:"errMsg"` Status struct {
ErrCode string `json:"errCode"` StatusCode string `json:"statusCode"`
StatusDesc string `json:"statusDesc"`
} `json:"status"`
} `json:"result"` } `json:"result"`
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论