个人信息修改失败
parent
355a384714
commit
d8a7766394
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue