aa
This commit is contained in:
22
platformapi/pddapi/order_test.go
Normal file
22
platformapi/pddapi/order_test.go
Normal 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))
|
||||
}
|
||||
Reference in New Issue
Block a user