- change time format of GetEleCommentList to time.Time

This commit is contained in:
gazebo
2019-03-12 09:42:53 +08:00
parent f43c61111a
commit 6a5f399671
2 changed files with 5 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ func TestGetStoreOrderInfoList(t *testing.T) {
}
func TestGetEleCommentList(t *testing.T) {
commentList, err := api.GetEleCommentList("2019-02-14 13:00:00", "2019-02-15 15:30:00", "", "", ReplyStatusAll, CommentLevelAll, CommentContentAll)
commentList, err := api.GetEleCommentList(utils.Str2Time("2019-02-25 00:00:00"), utils.Str2Time("2019-02-25 23:30:00"), "", "", ReplyStatusAll, CommentLevelAll, CommentContentAll)
if err != nil {
t.Fatal(err)
}