From d61291b747fbbcbdd1c22ac1e566a9675449a93c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Fri, 1 Jul 2022 11:50:30 +0800 Subject: [PATCH] 1 --- platformapi/q_bida/q_bida_access.go | 2 -- platformapi/q_bida/q_bida_params.go | 43 +++++++++++++++++++---------- 2 files changed, 28 insertions(+), 17 deletions(-) diff --git a/platformapi/q_bida/q_bida_access.go b/platformapi/q_bida/q_bida_access.go index 4298c91f..11089e5e 100644 --- a/platformapi/q_bida/q_bida_access.go +++ b/platformapi/q_bida/q_bida_access.go @@ -8,7 +8,6 @@ import ( "git.rosy.net.cn/baseapi" "git.rosy.net.cn/baseapi/platformapi" "git.rosy.net.cn/baseapi/utils" - "git.rosy.net.cn/jx-callback/globals" "net/http" "sync" "time" @@ -95,7 +94,6 @@ func (a *Api) AccessInfo(baseUrl, url, requestMethods string, param map[string]i request, _ = http.NewRequest(http.MethodGet, utils.GenerateGetURL(baseUrl, url, param), nil) } if url != LogInUrl { - globals.SugarLogger.Debug("token=======", a.token) request.Header.Set("token", a.token) } return request diff --git a/platformapi/q_bida/q_bida_params.go b/platformapi/q_bida/q_bida_params.go index 91493fc0..348c8d98 100644 --- a/platformapi/q_bida/q_bida_params.go +++ b/platformapi/q_bida/q_bida_params.go @@ -125,19 +125,28 @@ type GetOrderDetailRes struct { } type OrderDetail struct { + ServiceCharge int `json:"serviceCharge"` + IncrementFee int `json:"incrementFee"` + Images string `json:"images"` + ProductName string `json:"productName"` + ProductCode interface{} `json:"productCode"` + OrderCode string `json:"orderCode"` + ShipMethod interface{} `json:"shipMethod"` + ShipMethodName string `json:"shipMethodName"` + ChangeFee float64 // 转寄费用 ConsumeFee float64 // 耗材费元 CopyText string // 复制信息 CreateDate string // 下单时间 ExpressFee string // 快递费元 (元) - FeeStatus string // 费用状态0下单费用冻结中 ,非0下单费用已扣 + FeeStatus int // 费用状态0下单费用冻结中 ,非0下单费用已扣 Goods string // 物品 GuaranteeValueAmount float64 // 保价金额 InsuranceFee float64 // 保价费元 IsForward bool // 是否转寄单0否1是(转寄单额外收取50%运费) IsLimit bool // 是否超限0否1是 - OriginalFee float64 // 官方原价 - OtherFee float64 // 其他费用 + OriginalFee int // 官方原价 + OtherFee int // 其他费用 OverWeightStatus int // 超重状态 PackageNum int // 包裹数 ReceiveAddress string // 收件人地址 @@ -158,23 +167,27 @@ type OrderDetail struct { Type int // 快递公司 0:京东 1:德邦 Volume int // 体积cm3 VolumeRemark string // 体积重量计算说明 - VolumeWeight int // 体积重量Kg + VolumeWeight float64 // 体积重量Kg Weight int // 下单重量Kg - WeightActual int // 实际重量Kg + WeightActual float64 // 实际重量Kg WeightBill int // 计费重量Kg - WeightStatus int // 超重状态 - Yuanjia int // 快递费 + WeightStatus string // 超重状态 + Yuanjia float64 // 快递费 } type TraceListDetail struct { - Courier string // 快递员 - CourierTel string // 快递员电话 - OpeName string // 操作人 - OpeRemark string // 操作详情 - OpeTime string // 操作时间 - OpeTimeAll string // - OpeTitle string // - WaybillCode string // 运单号 + ID int + CreateDate string + UpdateDate interface{} + Version int + Courier string // 快递员 + CourierTel string // 快递员电话 + OpeName interface{} // 操作人 + OpeRemark string // 操作详情 + OpeTime string // 操作时间 + OpeTimeAll string // + OpeTitle string // + WaybillCode string // 运单号 } //#endregion