mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-23 09:50:27 +08:00
getui
This commit is contained in:
parent
dbc5bd96f3
commit
9976b8132f
@ -291,7 +291,7 @@ func GetUserWorkMomentsCommentsMsg(c *gin.Context) {
|
||||
}
|
||||
resp.Data.CurrentPage = respPb.Pagination.CurrentPage
|
||||
resp.Data.ShowNumber = respPb.Pagination.ShowNumber
|
||||
resp.Data.CommentsMsg = respPb.CommentsMsg
|
||||
resp.Data.CommentMsgs = respPb.CommentsMsgs
|
||||
log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "resp: ", resp)
|
||||
c.JSON(http.StatusOK, resp)
|
||||
}
|
||||
|
@ -74,7 +74,7 @@ type GetUserWorkMomentsCommentsMsgReq struct {
|
||||
type GetUserWorkMomentsCommentsMsgResp struct {
|
||||
CommResp
|
||||
Data struct {
|
||||
CommentsMsg []*office.CommentsMsg `json:"comments"`
|
||||
CommentMsgs []*office.CommentsMsg `json:"comments"`
|
||||
CurrentPage int32 `json:"currentPage"`
|
||||
ShowNumber int32 `json:"showNumber"`
|
||||
} `json:"data"`
|
||||
|
Loading…
x
Reference in New Issue
Block a user