mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-09-07 09:39:47 +08:00
modify
This commit is contained in:
parent
4d56dfdfa2
commit
0fbf882059
@ -57,8 +57,8 @@ func SetMessageReactionExtensions(c *gin.Context) {
|
||||
}
|
||||
resp.ErrCode = respPb.ErrCode
|
||||
resp.ErrMsg = respPb.ErrMsg
|
||||
resp.FailedList = respPb.FailedList
|
||||
resp.SuccessList = respPb.SuccessList
|
||||
resp.Data.FailedList = respPb.FailedList
|
||||
resp.Data.SuccessList = respPb.SuccessList
|
||||
log.NewInfo(req.OperationID, utils.GetSelfFuncName(), resp)
|
||||
c.JSON(http.StatusOK, resp)
|
||||
|
||||
@ -105,8 +105,8 @@ func GetMessageListReactionExtensions(c *gin.Context) {
|
||||
}
|
||||
resp.ErrCode = respPb.ErrCode
|
||||
resp.ErrMsg = respPb.ErrMsg
|
||||
resp.FailedList = respPb.FailedList
|
||||
resp.SuccessList = respPb.SuccessList
|
||||
resp.Data.FailedList = respPb.FailedList
|
||||
resp.Data.SuccessList = respPb.SuccessList
|
||||
log.NewInfo(req.OperationID, utils.GetSelfFuncName(), resp)
|
||||
c.JSON(http.StatusOK, resp)
|
||||
}
|
||||
@ -152,8 +152,8 @@ func AddMessageReactionExtensions(c *gin.Context) {
|
||||
}
|
||||
resp.ErrCode = respPb.ErrCode
|
||||
resp.ErrMsg = respPb.ErrMsg
|
||||
resp.FailedList = respPb.FailedList
|
||||
resp.SuccessList = respPb.SuccessList
|
||||
resp.Data.FailedList = respPb.FailedList
|
||||
resp.Data.SuccessList = respPb.SuccessList
|
||||
log.NewInfo(req.OperationID, utils.GetSelfFuncName(), resp)
|
||||
c.JSON(http.StatusOK, resp)
|
||||
}
|
||||
@ -199,8 +199,8 @@ func DeleteMessageReactionExtensions(c *gin.Context) {
|
||||
}
|
||||
resp.ErrCode = respPb.ErrCode
|
||||
resp.ErrMsg = respPb.ErrMsg
|
||||
resp.FailedList = respPb.FailedList
|
||||
resp.SuccessList = respPb.SuccessList
|
||||
resp.Data.FailedList = respPb.FailedList
|
||||
resp.Data.SuccessList = respPb.SuccessList
|
||||
log.NewInfo(req.OperationID, utils.GetSelfFuncName(), resp)
|
||||
c.JSON(http.StatusOK, resp)
|
||||
}
|
||||
|
@ -68,8 +68,10 @@ type ModifyMessageReactionExtensionsReq struct {
|
||||
|
||||
type ModifyMessageReactionExtensionsResp struct {
|
||||
CommResp
|
||||
SuccessList []*sdk_ws.ExtendMsg `json:"successList"`
|
||||
FailedList []*sdk_ws.ExtendMsg `json:"failedList"`
|
||||
Data struct {
|
||||
SuccessList []*sdk_ws.ExtendMsg `json:"successList"`
|
||||
FailedList []*sdk_ws.ExtendMsg `json:"failedList"`
|
||||
} `json:"data"`
|
||||
}
|
||||
|
||||
type OperateMessageListReactionExtensionsReq struct {
|
||||
@ -81,8 +83,10 @@ type OperateMessageListReactionExtensionsReq struct {
|
||||
|
||||
type OperateMessageListReactionExtensionsResp struct {
|
||||
CommResp
|
||||
SuccessList []*sdk_ws.ExtendMsg `json:"successList"`
|
||||
FailedList []*sdk_ws.ExtendMsg `json:"failedList"`
|
||||
Data struct {
|
||||
SuccessList []*sdk_ws.ExtendMsg `json:"successList"`
|
||||
FailedList []*sdk_ws.ExtendMsg `json:"failedList"`
|
||||
} `json:"data"`
|
||||
}
|
||||
|
||||
type SetMessageReactionExtensionsCallbackReq ModifyMessageReactionExtensionsReq
|
||||
|
Loading…
x
Reference in New Issue
Block a user