This commit is contained in:
邹宗楠
2022-07-01 11:50:30 +08:00
parent a728f1aec8
commit d61291b747
2 changed files with 28 additions and 17 deletions

View File

@@ -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

View File

@@ -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