mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
ReceiveMessageOpt debug log
This commit is contained in:
parent
5dd494d9a2
commit
19489afefc
@ -122,6 +122,7 @@ func GetReceiveMessageOpt(c *gin.Context) {
|
|||||||
c.JSON(http.StatusBadRequest, gin.H{"errCode": 401, "errMsg": "GetReceiveMessageOpt rpc failed, " + err.Error()})
|
c.JSON(http.StatusBadRequest, gin.H{"errCode": 401, "errMsg": "GetReceiveMessageOpt rpc failed, " + err.Error()})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
log.NewInfo(req.OperationID, "GetReceiveMessageOptReq req: ", req, resp)
|
||||||
var ginResp GetReceiveMessageOptResp
|
var ginResp GetReceiveMessageOptResp
|
||||||
ginResp.ErrCode = resp.ErrCode
|
ginResp.ErrCode = resp.ErrCode
|
||||||
ginResp.ErrMsg = resp.ErrMsg
|
ginResp.ErrMsg = resp.ErrMsg
|
||||||
@ -171,7 +172,7 @@ func SetReceiveMessageOpt(c *gin.Context) {
|
|||||||
c.JSON(http.StatusBadRequest, gin.H{"errCode": 401, "errMsg": "SetReceiveMessageOpt rpc failed, " + err.Error()})
|
c.JSON(http.StatusBadRequest, gin.H{"errCode": 401, "errMsg": "SetReceiveMessageOpt rpc failed, " + err.Error()})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
log.NewInfo(req.OperationID, "SetReceiveMessageOpt req: ", req, resp)
|
||||||
ginResp := SetReceiveMessageOptResp{
|
ginResp := SetReceiveMessageOptResp{
|
||||||
ErrCode: resp.ErrCode,
|
ErrCode: resp.ErrCode,
|
||||||
ErrMsg: resp.ErrMsg,
|
ErrMsg: resp.ErrMsg,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user