个人信息修改失败

master
罗家炜 2025-05-20 18:59:14 +08:00
parent 355a384714
commit d8a7766394
1 changed files with 22 additions and 2 deletions

View File

@ -36,11 +36,31 @@ function M:init(url, lev, res)
end)
self._view:GetChild('btn_changeMJScore').onClick:Set(function()
ViewUtil.ShowOneChooose("该功能还未开放")
ViewUtil.ShowOneInput("修改麻将进入限制分", function(text)
print("lingmeng修改扑克进入限制分", text)
fgCtr:FG_SetJoinScore(self.groupId, info.uid, tonumber(text), MJScore, function(res)
if res.ReturnCode ~= 0 then
ViewUtil.ShowOneChooose("修改限制分失败" .. res.ReturnCode)
else
MJScore = tonumber(text)
self._view:GetChild('text_score_majiang').text = MJScore
end
end)
end)
end)
self._view:GetChild('btn_changePokerScore').onClick:Set(function()
ViewUtil.ShowOneChooose("该功能还未开放")
ViewUtil.ShowOneInput("修改扑克进入限制分", function(text)
print("lingmeng修改扑克进入限制分", text)
fgCtr:FG_SetJoinScore(self.groupId, info.uid, MJScore, tonumber(text), function(res)
if res.ReturnCode ~= 0 then
ViewUtil.ShowOneChooose("修改限制分失败" .. res.ReturnCode)
else
PKScore = tonumber(text)
self._view:GetChild('text_score_poker').text = PKScore
end
end)
end)
end)
self._view:GetChild('btn_tick').onClick:Set(function()