|
|
|
@ -165,11 +165,10 @@ func GetSelfUserInfo(c *gin.Context) {
|
|
|
|
|
log.NewInfo(req.OperationID, "GetUserInfo api return ", resp)
|
|
|
|
|
c.JSON(http.StatusOK, resp)
|
|
|
|
|
} else {
|
|
|
|
|
resp := api.GetSelfUserInfoResp{CommResp: api.CommResp{ErrCode: RpcResp.CommonResp.ErrCode, ErrMsg: RpcResp.CommonResp.ErrMsg}}
|
|
|
|
|
resp := api.GetSelfUserInfoResp{CommResp: api.CommResp{ErrCode: constant.ErrDB.ErrCode, ErrMsg: constant.ErrDB.ErrMsg}}
|
|
|
|
|
log.NewInfo(req.OperationID, "GetUserInfo api return ", resp)
|
|
|
|
|
c.JSON(http.StatusOK, resp)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func GetUsersOnlineStatus(c *gin.Context) {
|
|
|
|
|