diff --git a/internal/api/user.go b/internal/api/user.go index 4e3fb7f7f..4e9d1b0c7 100644 --- a/internal/api/user.go +++ b/internal/api/user.go @@ -107,7 +107,7 @@ func (u *UserApi) GetUsersOnlineStatus(c *gin.Context) { } if !flag { res.UserID = v1 - res.Status = constant.OnlineStatus + res.Status = constant.OfflineStatus } respResult = append(respResult, res) }