查询房间信息
This commit is contained in:
parent
58fe35c90f
commit
33380d1bf8
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue