- 改jdapi.OrderQuery2接口参数类型
+ 新增jdapi.QuerySingleOrder2
This commit is contained in:
@@ -226,3 +226,13 @@ func TestOrderAddTips(t *testing.T) {
|
||||
t.Fatal(err.Error())
|
||||
}
|
||||
}
|
||||
|
||||
func TestOrderQuery2(t *testing.T) {
|
||||
orderList, _, err := api.OrderQuery2(&OrderQueryParam{
|
||||
OrderID: 918092290000042,
|
||||
})
|
||||
t.Log(utils.Format4Output(orderList, false))
|
||||
if err != nil {
|
||||
t.Fatal(err.Error())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user