公告协议

master
1076390229 2025-08-15 15:55:21 +08:00
parent ebc4985327
commit 3d3a543862
1 changed files with 11 additions and 11 deletions

View File

@ -344,7 +344,7 @@ function M:__show_service()
end end
function M:__GetMessage(data) function M:__GetMessage(data)
-- -- print("on GetMessage~~~~~~~~~~~~~~~~~~~~~~~~~~~") print("on GetMessage~~~~~~~~~~~~~~~~~~~~~~~~~~~")
if not data or not data.notice_list then if not data or not data.notice_list then
self._mesList = "" self._mesList = ""
else else
@ -462,19 +462,19 @@ function M:Show()
msg_tip:Show() msg_tip:Show()
tem.auto_show = false tem.auto_show = false
else 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 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() --self:GetPlayerInfoData()
-- 获取GPS坐标 -- 获取GPS坐标