Merge branch 'master' of https://e.coding.net/rosydev/baseapi
This commit is contained in:
@@ -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: "",
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user