This commit is contained in:
suyl
2021-04-29 17:36:37 +08:00
parent e595d096a7
commit 7975ae96f0
5 changed files with 70 additions and 6 deletions

View File

@@ -0,0 +1,22 @@
package pddapi
import (
"git.rosy.net.cn/baseapi/utils"
"testing"
)
func TestOrderListRangeGet(t *testing.T) {
result, err := api.OrderListRangeGet("2021-04-28 00:00:00", "2021-04-29:23:59:59", "", 100)
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(result, false))
}
func TestOrderDetailGet(t *testing.T) {
result, err := api.OrderDetailGet("")
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(result, false))
}