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"
"git.rosy.net.cn/baseapi/platformapi" "git.rosy.net.cn/baseapi/platformapi"
"git.rosy.net.cn/baseapi/utils" "git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/jx-callback/globals"
"net/http" "net/http"
"sync" "sync"
"time" "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) request, _ = http.NewRequest(http.MethodGet, utils.GenerateGetURL(baseUrl, url, param), nil)
} }
if url != LogInUrl { if url != LogInUrl {
globals.SugarLogger.Debug("token=======", a.token)
request.Header.Set("token", a.token) request.Header.Set("token", a.token)
} }
return request return request

View File

@@ -125,19 +125,28 @@ type GetOrderDetailRes struct {
} }
type OrderDetail 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 // 转寄费用 ChangeFee float64 // 转寄费用
ConsumeFee float64 // 耗材费元 ConsumeFee float64 // 耗材费元
CopyText string // 复制信息 CopyText string // 复制信息
CreateDate string // 下单时间 CreateDate string // 下单时间
ExpressFee string // 快递费元 (元) ExpressFee string // 快递费元 (元)
FeeStatus string // 费用状态0下单费用冻结中 ,非0下单费用已扣 FeeStatus int // 费用状态0下单费用冻结中 ,非0下单费用已扣
Goods string // 物品 Goods string // 物品
GuaranteeValueAmount float64 // 保价金额 GuaranteeValueAmount float64 // 保价金额
InsuranceFee float64 // 保价费元 InsuranceFee float64 // 保价费元
IsForward bool // 是否转寄单0否1是(转寄单额外收取50%运费) IsForward bool // 是否转寄单0否1是(转寄单额外收取50%运费)
IsLimit bool // 是否超限0否1是 IsLimit bool // 是否超限0否1是
OriginalFee float64 // 官方原价 OriginalFee int // 官方原价
OtherFee float64 // 其他费用 OtherFee int // 其他费用
OverWeightStatus int // 超重状态 OverWeightStatus int // 超重状态
PackageNum int // 包裹数 PackageNum int // 包裹数
ReceiveAddress string // 收件人地址 ReceiveAddress string // 收件人地址
@@ -158,23 +167,27 @@ type OrderDetail struct {
Type int // 快递公司 0京东 1德邦 Type int // 快递公司 0京东 1德邦
Volume int // 体积cm3 Volume int // 体积cm3
VolumeRemark string // 体积重量计算说明 VolumeRemark string // 体积重量计算说明
VolumeWeight int // 体积重量Kg VolumeWeight float64 // 体积重量Kg
Weight int // 下单重量Kg Weight int // 下单重量Kg
WeightActual int // 实际重量Kg WeightActual float64 // 实际重量Kg
WeightBill int // 计费重量Kg WeightBill int // 计费重量Kg
WeightStatus int // 超重状态 WeightStatus string // 超重状态
Yuanjia int // 快递费 Yuanjia float64 // 快递费
} }
type TraceListDetail struct { type TraceListDetail struct {
Courier string // 快递员 ID int
CourierTel string // 快递员电话 CreateDate string
OpeName string // 操作人 UpdateDate interface{}
OpeRemark string // 操作详情 Version int
OpeTime string // 操作时间 Courier string // 快递员
OpeTimeAll string // CourierTel string // 快递员电话
OpeTitle string // OpeName interface{} // 操作人
WaybillCode string // 运单号 OpeRemark string // 操作详情
OpeTime string // 操作时间
OpeTimeAll string //
OpeTitle string //
WaybillCode string // 运单号
} }
//#endregion //#endregion