mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-08-31 11:15:40 +08:00
Merge branch 'v2.3.0release' of github.com:OpenIMSDK/Open-IM-Server into v2.3.0release
This commit is contained in:
commit
cf57f999c5
@ -80,6 +80,7 @@ func DelSuperGroupMsg(c *gin.Context) {
|
|||||||
)
|
)
|
||||||
rpcReq := &rpc.DelSuperGroupMsgReq{}
|
rpcReq := &rpc.DelSuperGroupMsgReq{}
|
||||||
if err := c.BindJSON(&req); err != nil {
|
if err := c.BindJSON(&req); err != nil {
|
||||||
|
log.NewError("", "args err:", err.Error())
|
||||||
c.JSON(http.StatusOK, gin.H{"errCode": 400, "errMsg": err.Error()})
|
c.JSON(http.StatusOK, gin.H{"errCode": 400, "errMsg": err.Error()})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
@ -19,11 +19,11 @@ type CleanUpMsgResp struct {
|
|||||||
CommResp
|
CommResp
|
||||||
}
|
}
|
||||||
type DelSuperGroupMsgReq struct {
|
type DelSuperGroupMsgReq struct {
|
||||||
UserID string `json:"userID,omitempty" binding:"required"`
|
UserID string `json:"userID" binding:"required"`
|
||||||
GroupID string `json:"groupID,omitempty" binding:"required"`
|
GroupID string `json:"groupID" binding:"required"`
|
||||||
SeqList []uint32 `json:"seqList,omitempty"`
|
SeqList []uint32 `json:"seqList,omitempty"`
|
||||||
IsAllDelete bool `json:"isAllDelete"`
|
IsAllDelete bool `json:"isAllDelete"`
|
||||||
OperationID string `json:"operationID,omitempty" binding:"required"`
|
OperationID string `json:"operationID" binding:"required"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type DelSuperGroupMsgResp struct {
|
type DelSuperGroupMsgResp struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user