mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
KickUserOffline
This commit is contained in:
parent
f7c17ac7e7
commit
2b150e3c1c
@ -157,7 +157,7 @@ func ForceLogout(c *gin.Context) {
|
|||||||
c.JSON(http.StatusInternalServerError, gin.H{"errCode": 500, "errMsg": errMsg})
|
c.JSON(http.StatusInternalServerError, gin.H{"errCode": 500, "errMsg": errMsg})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
resp := api.ForceLogoutResp{CommResp: api.CommResp{ErrCode: reply.CommonResp.ErrCode, ErrMsg: reply.CommonResp.ErrMsg}}
|
||||||
log.NewInfo(params.OperationID, utils.GetSelfFuncName(), " return ", reply)
|
log.NewInfo(params.OperationID, utils.GetSelfFuncName(), " return ", resp)
|
||||||
c.JSON(http.StatusOK, reply)
|
c.JSON(http.StatusOK, resp)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user