package ebaiapi import ( "testing" "git.rosy.net.cn/baseapi" "git.rosy.net.cn/baseapi/utils" ) func TestOrderRatesGet(t *testing.T) { commentList, err := api.OrderRatesGet("102002", 0, utils.Str2Time("2019-09-25"), utils.Str2Time("2019-10-10"), ReplyStatusAll) if err != nil { t.Fatal(err) } baseapi.SugarLogger.Debug(utils.Format4Output(commentList, false)) } func TestOrderCommetGet(t *testing.T) { commentList, err := api.OrderCommetGet("103035", 0, utils.Str2Time("2020-07-01"), utils.Str2Time("2020-09-30"), ReplyStatusAll) if err != nil { t.Fatal(err) } baseapi.SugarLogger.Debug(utils.Format4Output(commentList, false)) } func TestOrderRatesReply(t *testing.T) { err := api.OrderRatesReply("100119", 0, "commentID", "hello") if err != nil { t.Fatal(err) } }