diff --git a/marketing-api/model/tools/comment/reply.go b/marketing-api/model/tools/comment/reply.go index e6f96ff4..c2894431 100644 --- a/marketing-api/model/tools/comment/reply.go +++ b/marketing-api/model/tools/comment/reply.go @@ -1,15 +1,14 @@ package comment import ( - "encoding/json" - "github.com/bububa/oceanengine/marketing-api/enum" + "github.com/bububa/oceanengine/marketing-api/model" ) // Reply 评论回复 type Reply struct { // ReplyToCommentID 回复的一级评论ID - ReplyToCommentID json.Number `json:"reply_to_comment_id,omitempty"` + ReplyToCommentID model.Uint64 `json:"reply_to_comment_id,omitempty"` // CommentID 评论id CommentID uint64 `json:"comment_id,omitempty"` // Text 评论内容 diff --git a/marketing-api/model/tools/interestaction/object.go b/marketing-api/model/tools/interestaction/object.go index 1a2231e0..80b492d4 100644 --- a/marketing-api/model/tools/interestaction/object.go +++ b/marketing-api/model/tools/interestaction/object.go @@ -1,11 +1,11 @@ package interestaction -import "encoding/json" +import "github.com/bububa/oceanengine/marketing-api/model" // Object 类目/关键词对象 type Object struct { // ID 类目/关键词IID - ID json.Number `json:"id,omitempty"` + ID model.Uint64 `json:"id,omitempty"` // Name 名称 Name string `json:"name,omitempty"` // Num 覆盖人数