|
|
|
@ -45,19 +45,19 @@ type GetWorkMomentByIDReq struct {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type WorkMoment struct {
|
|
|
|
|
WorkMomentID string `json:"workMomentID"`
|
|
|
|
|
UserID string `json:"userID"`
|
|
|
|
|
Content string `json:"content"`
|
|
|
|
|
LikeUsers []*LikeUser `json:"likeUsers"`
|
|
|
|
|
Comments []*Comment `json:"comments"`
|
|
|
|
|
WorkMomentID string `json:"workMomentID"`
|
|
|
|
|
UserID string `json:"userID"`
|
|
|
|
|
Content string `json:"content"`
|
|
|
|
|
LikeUserList []*WorkMomentUser `json:"likeUsers"`
|
|
|
|
|
Comments []*Comment `json:"comments"`
|
|
|
|
|
//Permission int32 `json:"permission"`
|
|
|
|
|
//PermissionUserIDList []string `json:"permissionUserIDList"`
|
|
|
|
|
//PermissionGroupIDList []string `json:"permissionGroupIDList"`
|
|
|
|
|
AtUserIDList []string `json:"atUserIDList"`
|
|
|
|
|
CreateTime int32 `json:"createTime,omitempty"`
|
|
|
|
|
AtUserIDList []*WorkMomentUser `json:"atUsers"`
|
|
|
|
|
CreateTime int32 `json:"createTime,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type LikeUser struct {
|
|
|
|
|
type WorkMomentUser struct {
|
|
|
|
|
UserID string `json:"userID"`
|
|
|
|
|
UserName string `json:"userName"`
|
|
|
|
|
}
|
|
|
|
|