物料订单状态查询struct
This commit is contained in:
@@ -59,10 +59,18 @@ func TestCancelOrder(t *testing.T) {
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
func TestQueryOrderStatus(t *testing.T) {
|
||||
api.QueryOrderStatus("")
|
||||
result, err := api.QueryOrderStatus("ESL96778165421301")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
func TestGetTrackMessagePlusByOrder(t *testing.T) {
|
||||
api.GetTrackMessagePlusByOrder("")
|
||||
result, err := api.GetTrackMessagePlusByOrder("46526340012148")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
func TestSearchShopStock(t *testing.T) {
|
||||
api.SearchShopStock(&SearchShopStockParam{})
|
||||
|
||||
Reference in New Issue
Block a user