查询房间信息

This commit is contained in:
sk 2024-09-05 16:02:50 +08:00
parent 58fe35c90f
commit 33380d1bf8
1 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ func init() {
if err != nil {
pack.Tag = webapiproto.TagCode_FAILED
pack.Msg = "数据序列化失败"
return common.ResponseTag_ParamError, pack
return common.ResponseTag_Ok, pack
}
pack.Tag = webapiproto.TagCode_SUCCESS
@ -114,7 +114,7 @@ func init() {
if scene == nil || scene.ExtraData == nil {
pack.Tag = webapiproto.TagCode_NotFound
pack.Msg = "房间没找到"
return common.ResponseTag_NoFindRoom, pack
return common.ResponseTag_Ok, pack
}
switch d := scene.ExtraData.(type) {