Feat: check room show creator name

pull/31/head
zijiren233 2 years ago
parent 931df8d848
commit b8238d29c3

@ -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),
}))
}

Loading…
Cancel
Save