This commit is contained in:
邹宗楠
2022-09-20 16:25:46 +08:00
parent c7cfd615cb
commit cc6a1c5c1e
14 changed files with 393 additions and 62 deletions

View File

@@ -33,7 +33,7 @@ func TestOrderStatusGet(t *testing.T) {
}
}
func TestOrderList(t *testing.T) {
result, err := api.OrderList("", 0, 0, 0, 0, 0)
result, err := api.OrderList("300104", 32267046052, utils.Str2Time("2022-08-22").Unix(), utils.Str2Time("2022-09-08").Unix(), 0, 1)
if err != nil {
t.Fatal(err)
} else {
@@ -42,7 +42,7 @@ func TestOrderList(t *testing.T) {
}
func TestOrderListAll(t *testing.T) {
result, err := api.OrderListAll("", 32267184047, utils.Str2Time("2019-12-25").Unix(), utils.Str2Time("2019-12-26").Unix(), 0)
result, err := api.OrderListAll("", 32267046052, utils.Str2Time("2022-09-01").Unix(), utils.Str2Time("2022-09-08").Unix(), 0)
if err != nil {
t.Fatal(err)
} else {