diff --git a/platformapi/q_bida/q_bida_client.go b/platformapi/q_bida/q_bida_client.go index a4e327e0..e6fa544e 100644 --- a/platformapi/q_bida/q_bida_client.go +++ b/platformapi/q_bida/q_bida_client.go @@ -61,6 +61,7 @@ func (a *Api) GetExpressPrice(param *GetExpressPriceReq) (*GetExpressPriceRes, e return resultData, nil } + // CreateOrder 创建订单 func (a *Api) CreateOrder(param *MakeOrderReq) (string, error) { if err := a.CheckTokenExpiration(); err != nil { diff --git a/platformapi/q_bida/q_bida_params.go b/platformapi/q_bida/q_bida_params.go index c90233eb..083f339c 100644 --- a/platformapi/q_bida/q_bida_params.go +++ b/platformapi/q_bida/q_bida_params.go @@ -42,26 +42,26 @@ type GetExpressPriceRes struct { // GetExpressPriceData 获取正儿八经返回值 type GetExpressPriceData struct { - BillWeight int `json:"billWeight"` - Bulk int `json:"bulk"` // 体积抛比系数 - ChannelFee float64 `json:"channelFee"` // 渠道价 - ChannelName string `json:"channelName"` - Discount float64 `json:"discount"` - Genre int `json:"genre"` - GuarantFee float64 `json:"guarantFee"` // 保价费用 - IncrementFee float64 `json:"incrementFee"` - InsuredMsg string `json:"insuredMsg"` - IsInsured bool `json:"isInsured"` - LimitWeight int `json:"limitWeight"` - OriginalFee int `json:"originalFee"` // 原价 - PriceA float64 `json:"priceA"` // 价格a - PriceB float64 `json:"priceB"` // 价格b - Remark string `json:"remark"` // 备注 - ServiceCharge float64 `json:"serviceCharge"` // 服务费 - Type int `json:"type"` // 快递公司type - TypeName string `json:"typeName"` // 快递公司名称 - Volume int `json:"volume"` - VolumeWeight int `json:"volumeWeight"` + BillWeight int `json:"billWeight"` + Bulk int `json:"bulk"` // 体积抛比系数 + ChannelFee float64 `json:"channelFee"` // 渠道价 + ChannelName string `json:"channelName"` + Discount float64 `json:"discount"` + Genre int `json:"genre"` + GuarantFee float64 `json:"guarantFee"` // 保价费用 + IncrementFee float64 `json:"incrementFee"` + InsuredMsg string `json:"insuredMsg"` + IsInsured bool `json:"isInsured"` + LimitWeight int `json:"limitWeight"` + OriginalFee interface{} `json:"originalFee"` // 原价 + PriceA float64 `json:"priceA"` // 价格a + PriceB float64 `json:"priceB"` // 价格b + Remark string `json:"remark"` // 备注 + ServiceCharge float64 `json:"serviceCharge"` // 服务费 + Type int `json:"type"` // 快递公司type + TypeName string `json:"typeName"` // 快递公司名称 + Volume int `json:"volume"` + VolumeWeight int `json:"volumeWeight"` } //#endregion diff --git a/platformapi/showapi/barcode_test.go b/platformapi/showapi/barcode_test.go index 70747c23..6df46c48 100644 --- a/platformapi/showapi/barcode_test.go +++ b/platformapi/showapi/barcode_test.go @@ -1,6 +1,7 @@ package showapi import ( + "fmt" "testing" "git.rosy.net.cn/baseapi/utils" @@ -49,3 +50,7 @@ func TestSplitProductSpec(t *testing.T) { } } } + +func Test111(t *testing.T) { + fmt.Println(23&16!=0) +}