This commit is contained in:
邹宗楠
2024-08-20 17:38:22 +08:00
parent 48e9a22edd
commit c4f39e6c94
6 changed files with 121 additions and 55 deletions

View File

@@ -11,7 +11,7 @@ import (
)
func TestCommentQuery(t *testing.T) {
result, err := api.CommentQuery("7821254", "20240730", "20240731", 0, 0, CommentReplyStatusAll)
result, err := api.CommentQuery("23932637", "20240813", "20240819", 0, 0, CommentReplyStatusNotReplied)
if err != nil {
t.Fatal(err)
}
@@ -38,7 +38,7 @@ func TestCommentQuery(t *testing.T) {
}
func TestCommentAddReply(t *testing.T) {
err := api.CommentAddReply("24617232", 2947288966, "非常抱歉让您没有得到十分满意的购物体验,我们会及时与您联系进行确认并解决问题!")
err := api.CommentAddReply("23932637", 2947288966, "非常抱歉让您没有得到十分满意的购物体验,我们会及时与您联系进行确认并解决问题!")
if err != nil {
t.Fatal(err)
}