日志删除

This commit is contained in:
邹宗楠
2023-07-18 13:44:50 +08:00
parent 595336ffae
commit b0536dbb67
10 changed files with 68 additions and 82 deletions

View File

@@ -1,13 +1,14 @@
package mtwmapi
import (
"fmt"
"testing"
"git.rosy.net.cn/baseapi/utils"
)
func TestCommentQuery(t *testing.T) {
result, err := api.CommentQuery("7809572", "20210817", "20210818", 0, 0, CommentReplyStatusAll)
result, err := api.CommentQuery("18026738", "20230711", "20230717", 0, 0, CommentReplyStatusNotReplied)
if err != nil {
t.Fatal(err)
}
@@ -20,3 +21,7 @@ func TestCommentAddReply(t *testing.T) {
t.Fatal(err)
}
}
func TestTime(t *testing.T) {
fmt.Println(utils.TryStr2Time("2023-07-16"))
}