diff --git a/server/handlers/room.go b/server/handlers/room.go index 66784e2..f36c3b4 100644 --- a/server/handlers/room.go +++ b/server/handlers/room.go @@ -162,6 +162,7 @@ func CheckRoom(ctx *gin.Context) { ctx.JSON(http.StatusOK, model.NewApiDataResp(gin.H{ "peopleNum": op.ClientNum(r.ID), "needPassword": r.NeedPassword(), + "creator": op.GetUserName(r.CreatorID), })) }