- 改jdapi.OrderQuery2接口参数类型

+ 新增jdapi.QuerySingleOrder2
This commit is contained in:
gazebo
2019-07-30 14:39:27 +08:00
parent 4f31e53b23
commit 2e3dc64609
2 changed files with 45 additions and 8 deletions

View File

@@ -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())
}
}