statte
This commit is contained in:
@@ -45,6 +45,19 @@ const (
|
||||
SoStatusCode10033 = "10033" //站点验收
|
||||
SoStatusCode10034 = "10034" //妥投
|
||||
SoStatusCode10038 = "10038" //逆向完成
|
||||
|
||||
TraceInfoStateM625 = "-625" //揽收任务分配
|
||||
TraceInfoStateM190 = "-190" //上门接货
|
||||
TraceInfoStateM640 = "-640" //配送员完成揽收
|
||||
TraceInfoStateM170 = "-170" //分拣中心收货
|
||||
TraceInfoState200 = "200" //站点装箱发货
|
||||
TraceInfoState10 = "10" //分拣中心验货
|
||||
TraceInfoState13 = "13" //分拣中心分拣
|
||||
TraceInfoState16 = "16" //分拣中心发货
|
||||
TraceInfoState60 = "60" //站点收货
|
||||
TraceInfoState80 = "80" //站点验货
|
||||
TraceInfoState110 = "110" //配送员收货
|
||||
TraceInfoState150 = "150" //妥投
|
||||
)
|
||||
|
||||
type API struct {
|
||||
|
||||
@@ -127,7 +127,7 @@ func TestCancelWayBill(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestQueryDynamicTraceInfo(t *testing.T) {
|
||||
result, err := api.QueryDynamicTraceInfo("JDVD01096487452")
|
||||
result, err := api.QueryDynamicTraceInfo("JDVD01119013942")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
@@ -135,7 +135,7 @@ func TestQueryDynamicTraceInfo(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestWaybillQuery(t *testing.T) {
|
||||
result, err := api.WaybillQuery("JDVD01096487452")
|
||||
result, err := api.WaybillQuery("JDVD01119013942")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user