This commit is contained in:
richboo111
2023-02-03 16:53:19 +08:00
2 changed files with 7 additions and 3 deletions

View File

@@ -156,7 +156,7 @@ func (a *API) GetShipmentInfo(shopOrderID, afterSaleID, shipmentType int64) (*su
AfterSaleID: 0,
TrackNo: "",
ShopID: 0,
ShipmentStatus: 0,
ShipmentStatus: -1,
ShipmentError: 0,
RiderName: "",
RiderPhone: "",

View File

@@ -12,7 +12,7 @@ func TestGetDispatcherInfo(t *testing.T) {
fmt.Println(err)
}
func TestCancelWaybill(t *testing.T) {
err := a.ShopOrderDispatcher(62490423, "5017358149445080799", 2)
err := a.ShopOrderDispatcher(64250755, "5030722721087718866", 2)
fmt.Println(err)
}
@@ -36,5 +36,9 @@ func Test(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)
}