|
|
@@ -159,6 +159,7 @@ const EggFriendCircleEsMapping = ` |
|
|
|
|
|
|
|
type EggFriendCircleEs struct { |
|
|
|
Uid int64 `json:"uid" label:"uid"` |
|
|
|
ImUid int64 `json:"im_uid" label:"im_uid"` |
|
|
|
Kind int32 `json:"kind" label:"类型(1:普通 2:官方)"` |
|
|
|
Content string `json:"content" label:"文本内容"` |
|
|
|
Image string `json:"image" label:"图片"` |
|
|
@@ -195,6 +196,9 @@ const EggFriendCircleCommentEsMapping = ` |
|
|
|
"comment_id":{ |
|
|
|
"type": "integer" |
|
|
|
}, |
|
|
|
"reply_comment_id":{ |
|
|
|
"type": "integer" |
|
|
|
}, |
|
|
|
"content":{ |
|
|
|
"type": "keyword" |
|
|
|
}, |
|
|
@@ -226,15 +230,17 @@ 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:"文本内容"` |
|
|
|
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"` |
|
|
|
Uid int64 `json:"uid" label:"uid"` |
|
|
|
ImUid int64 `json:"im_uid" label:"im_uid"` |
|
|
|
Kind int32 `json:"kind" label:"类型(1:普通 2:官方)"` |
|
|
|
CircleId string `json:"circle_id" label:"朋友圈id"` |
|
|
|
CommentId string `json:"comment_id" label:"评论id"` |
|
|
|
ReplyCommentId string `json:"reply_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"` |
|
|
|
} |