mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
delete conversation update
This commit is contained in:
parent
7bd7edfec9
commit
bcc0c7c2df
@ -79,11 +79,11 @@ func DelSuperGroupMsg(c *gin.Context) {
|
|||||||
resp api.DelSuperGroupMsgResp
|
resp api.DelSuperGroupMsgResp
|
||||||
)
|
)
|
||||||
rpcReq := &rpc.DelSuperGroupMsgReq{}
|
rpcReq := &rpc.DelSuperGroupMsgReq{}
|
||||||
utils.CopyStructFields(rpcReq, &req)
|
|
||||||
if err := c.BindJSON(&req); err != nil {
|
if err := c.BindJSON(&req); err != nil {
|
||||||
c.JSON(http.StatusBadRequest, gin.H{"errCode": 400, "errMsg": err.Error()})
|
c.JSON(http.StatusBadRequest, gin.H{"errCode": 400, "errMsg": err.Error()})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
utils.CopyStructFields(rpcReq, &req)
|
||||||
log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "req:", req)
|
log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "req:", req)
|
||||||
var ok bool
|
var ok bool
|
||||||
var errInfo string
|
var errInfo string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user