This commit is contained in:
wangchuxiao
2022-03-17 12:48:54 +08:00
parent fbafcd0cbc
commit f02fb7ba15
5 changed files with 15 additions and 44 deletions
+5 -1
View File
@@ -1,6 +1,7 @@
package msg
import (
"Open_IM/pkg/common/db"
"Open_IM/pkg/common/log"
commonPb "Open_IM/pkg/proto/sdk_ws"
"Open_IM/pkg/utils"
@@ -9,7 +10,10 @@ import (
func (rpc *rpcChat) DelMsgList(_ context.Context, req *commonPb.DelMsgListReq) (*commonPb.DelMsgListResp, error) {
log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "req: ", req.String())
//if err := db.DelMsg(req.UserID, req.SeqList); err != nil {
// log.NewError(req.OperationID, utils.GetSelfFuncName(), "DelMsg failed", err.Error())
//}
resp := &commonPb.DelMsgListResp{}
log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "resp: ", resp)
log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "resp: ", resp.String())
return resp, nil
}