1
This commit is contained in:
@@ -156,7 +156,7 @@ func (a *API) GetShipmentInfo(shopOrderID, afterSaleID, shipmentType int64) (*su
|
|||||||
AfterSaleID: 0,
|
AfterSaleID: 0,
|
||||||
TrackNo: "",
|
TrackNo: "",
|
||||||
ShopID: 0,
|
ShopID: 0,
|
||||||
ShipmentStatus: 0,
|
ShipmentStatus: -1,
|
||||||
ShipmentError: 0,
|
ShipmentError: 0,
|
||||||
RiderName: "",
|
RiderName: "",
|
||||||
RiderPhone: "",
|
RiderPhone: "",
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ func TestGetDispatcherInfo(t *testing.T) {
|
|||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
}
|
}
|
||||||
func TestCancelWaybill(t *testing.T) {
|
func TestCancelWaybill(t *testing.T) {
|
||||||
err := a.ShopOrderDispatcher(62490423, "5017358149445080799", 2)
|
err := a.ShopOrderDispatcher(64250755, "5030722721087718866", 2)
|
||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -36,5 +36,9 @@ func Test(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestGetShipmentInfo(t *testing.T) {
|
func TestGetShipmentInfo(t *testing.T) {
|
||||||
a.GetShipmentInfo(5030274019371220703, 0, ShipmentTypeInvoice)
|
a.GetShipmentInfo(5030299715093774047, 0, ShipmentTypeInvoice)
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestGetStoreAutoCallRiderInfo(t *testing.T) {
|
||||||
|
a.GetStoreAutoCallRiderInfo(64212030)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user