diff --git a/lua_probject/base_project/Game/View/LobbyView.lua b/lua_probject/base_project/Game/View/LobbyView.lua index 4a20c56f..d79f0651 100644 --- a/lua_probject/base_project/Game/View/LobbyView.lua +++ b/lua_probject/base_project/Game/View/LobbyView.lua @@ -344,7 +344,7 @@ function M:__show_service() end function M:__GetMessage(data) - -- -- print("on GetMessage~~~~~~~~~~~~~~~~~~~~~~~~~~~") + print("on GetMessage~~~~~~~~~~~~~~~~~~~~~~~~~~~") if not data or not data.notice_list then self._mesList = "" else @@ -462,19 +462,19 @@ function M:Show() msg_tip:Show() tem.auto_show = false else - local lobbyCtr1 = ControllerManager.GetController(LoddyController) - lobbyCtr1:UpdateNotice(DataManager.SelfUser.account_id, function(result, data) - -- local data1 = {} - -- data1.notice_list = {} - -- data1.notice_list[1] = "ccccccccccccccccccccccccccc" - if result then - self:__GetMessage(data) - end - end) end ]] - local loddyCtr1 = ControllerManager.GetController(LoddyController) + local lobbyCtr1 = ControllerManager.GetController(LoddyController) + lobbyCtr1:UpdateNotice(DataManager.SelfUser.account_id, function(result, data) + -- local data1 = {} + -- data1.notice_list = {} + -- data1.notice_list[1] = "ccccccccccccccccccccccccccc" + if result then + self:__GetMessage(data) + end + end) + --self:GetPlayerInfoData() -- 获取GPS坐标