aa
This commit is contained in:
@@ -20,6 +20,7 @@ const (
|
||||
sigKey = "sign"
|
||||
IsvSource = "ISV0020000000068"
|
||||
DepartmentNo = "EBU4418046609452"
|
||||
ShipperNo = "CYS4398046511104"
|
||||
ShopNo = "ESP0020000066348"
|
||||
WarehouseNo = "110014006"
|
||||
CustomerCode = "028K595510"
|
||||
@@ -88,6 +89,7 @@ type AddOrderParam struct {
|
||||
ShopNo string `json:"shopNo"` //店铺编号(B2C订单必填,B2B(soType=2)订单非必填)
|
||||
DepartmentNo string `json:"departmentNo"` //事业部编号,且与pin匹配
|
||||
WarehouseNo string `json:"warehouseNo"` //库房编号,事业部开启寻源拆分服务可不填;否则必填;
|
||||
ShipperNo string `json:"shipperNo"` //承运商编号
|
||||
SalesPlatformOrderNo string `json:"salesPlatformOrderNo"` //销售平台订单号,如果销售平台来源为京东平台,则该字段不能为空,长度不超过200
|
||||
SalePlatformSource string `json:"salePlatformSource"` //销售平台来源
|
||||
ConsigneeName string `json:"consigneeName"` //收货人姓名,长度不能超20
|
||||
|
||||
@@ -127,7 +127,7 @@ func TestCancelWayBill(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestQueryDynamicTraceInfo(t *testing.T) {
|
||||
result, err := api.QueryDynamicTraceInfo("JDVD01333952184")
|
||||
result, err := api.QueryDynamicTraceInfo("JDVD01376429529")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
@@ -135,7 +135,7 @@ func TestQueryDynamicTraceInfo(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestWaybillQuery(t *testing.T) {
|
||||
result, err := api.WaybillQuery("JDVD01319320290")
|
||||
result, err := api.WaybillQuery("JDVD01345722555")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user