del conversation bug fix

pull/261/head
Gordon 3 years ago
parent 319631b5c4
commit 87c64bdb2b

@ -79,7 +79,7 @@ func DelSuperGroupMsg(c *gin.Context) {
resp api.DelSuperGroupMsgResp resp api.DelSuperGroupMsgResp
) )
rpcReq := &rpc.DelSuperGroupMsgReq{} rpcReq := &rpc.DelSuperGroupMsgReq{}
utils.CopyStructFields(req, &req) 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

Loading…
Cancel
Save