diff --git a/lua_probject/base_project/Game/Controller/LoginController.lua b/lua_probject/base_project/Game/Controller/LoginController.lua index fef34d6b..8ceb3af9 100644 --- a/lua_probject/base_project/Game/Controller/LoginController.lua +++ b/lua_probject/base_project/Game/Controller/LoginController.lua @@ -166,7 +166,8 @@ function M:Login(callback) printlog("lingmeng Login", UnityEngine.SystemInfo.deviceUniqueIdentifier) local result = pcall(function(...) _data.data = RSAHelper.Encrypt(json.encode({ - acc = user.acc, + -- acc = user.acc, + acc = "kjsaf65agf4d65g4sdf3216SD5D465SA", nick = user.nick_name, sex = user.sex, portrait = user.head_url, diff --git a/lua_probject/base_project/Game/View/Lobby/SelectAcc.lua b/lua_probject/base_project/Game/View/Lobby/SelectAcc.lua index d02c70c2..e8dad37a 100644 --- a/lua_probject/base_project/Game/View/Lobby/SelectAcc.lua +++ b/lua_probject/base_project/Game/View/Lobby/SelectAcc.lua @@ -25,7 +25,8 @@ function M:init(url) ImageLoad.Load(user.head_url, self._view:GetChild('head_url')) self._view:GetChild('btn_ok').onClick:Set(function() - self._view:GetController('choose').selectedIndex = 1 + self._view:GetChild('tex_phone').text = user.account_id + self._view:GetController('choose').selectedIndex = 2 end) self._view:GetChild('btn_cancle').onClick:Set(function() @@ -49,7 +50,7 @@ function M:init(url) end) self._view:GetChild('btn_cancel_pws').onClick:Set(function() - self._view:GetController('choose').selectedIndex = 1 + self._view:GetController('choose').selectedIndex = 0 end) self:initInfo()