|
|
@@ -244,3 +244,42 @@ type EggFriendCircleCommentEs struct { |
|
|
|
CreatedAt string `json:"created_at"` |
|
|
|
UpdatedAt string `json:"updated_at"` |
|
|
|
} |
|
|
|
|
|
|
|
const EggFriendCircleLikeEsAlias = "egg_friend_circle_like" |
|
|
|
const EggFriendCircleLikeEsIndex = "egg_friend_circle_like_" |
|
|
|
const EggFriendCircleLikeEsMapping = ` |
|
|
|
{ |
|
|
|
"settings" : { |
|
|
|
"number_of_shards" : 2, |
|
|
|
"number_of_replicas" : 1 |
|
|
|
}, |
|
|
|
"aliases": { |
|
|
|
"egg_friend_circle": {} |
|
|
|
}, |
|
|
|
"mappings":{ |
|
|
|
"properties":{ |
|
|
|
"uid":{ |
|
|
|
"type": "integer" |
|
|
|
}, |
|
|
|
"circle_id":{ |
|
|
|
"type": "integer" |
|
|
|
}, |
|
|
|
"created_at":{ |
|
|
|
"type": "date", |
|
|
|
"format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis" |
|
|
|
}, |
|
|
|
"updated_at":{ |
|
|
|
"type": "date", |
|
|
|
"format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis" |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}` |
|
|
|
|
|
|
|
type EggFriendCircleLikeEs struct { |
|
|
|
Uid int64 `json:"uid" label:"uid"` |
|
|
|
ImUid int64 `json:"im_uid" label:"im_uid"` |
|
|
|
CircleId string `json:"circle_id" label:"朋友圈id"` |
|
|
|
CreatedAt string `json:"created_at"` |
|
|
|
UpdatedAt string `json:"updated_at"` |
|
|
|
} |