|
|
@@ -204,6 +204,12 @@ const EggFriendCircleCommentEsMapping = ` |
|
|
|
"is_praise":{ |
|
|
|
"type": "short" |
|
|
|
}, |
|
|
|
"likes_nums":{ |
|
|
|
"type": "integer" |
|
|
|
}, |
|
|
|
"comment_nums":{ |
|
|
|
"type": "integer" |
|
|
|
}, |
|
|
|
"state":{ |
|
|
|
"type": "short" |
|
|
|
}, |
|
|
@@ -220,13 +226,15 @@ const EggFriendCircleCommentEsMapping = ` |
|
|
|
}` |
|
|
|
|
|
|
|
type EggFriendCircleCommentEs struct { |
|
|
|
Uid int64 `json:"uid" label:"uid"` |
|
|
|
Kind int32 `json:"kind" label:"类型(1:普通 2:官方)"` |
|
|
|
CircleId int64 `json:"circle_id" label:"朋友圈id"` |
|
|
|
CommentId int64 `json:"comment_id" label:"评论id"` |
|
|
|
Content string `json:"content" label:"文本内容"` |
|
|
|
State int32 `json:"state" label:"状态(1:正常 2:隐藏)"` |
|
|
|
IsPraise int32 `json:"is_praise" label:"是否被表扬(1:是 2:否)"` |
|
|
|
CreatedAt string `json:"created_at"` |
|
|
|
UpdatedAt string `json:"updated_at"` |
|
|
|
Uid int64 `json:"uid" label:"uid"` |
|
|
|
Kind int32 `json:"kind" label:"类型(1:普通 2:官方)"` |
|
|
|
CircleId int64 `json:"circle_id" label:"朋友圈id"` |
|
|
|
CommentId int64 `json:"comment_id" label:"评论id"` |
|
|
|
Content string `json:"content" label:"文本内容"` |
|
|
|
LikesNums int `json:"likes_nums" label:"点赞数"` |
|
|
|
CommentNums int `json:"comment_nums" label:"评论数"` |
|
|
|
State int32 `json:"state" label:"状态(1:正常 2:隐藏)"` |
|
|
|
IsPraise int32 `json:"is_praise" label:"是否被表扬(1:是 2:否)"` |
|
|
|
CreatedAt string `json:"created_at"` |
|
|
|
UpdatedAt string `json:"updated_at"` |
|
|
|
} |