ios快捷登录
This commit is contained in:
1 parent
a625db3ebe
commit
c12df53c18
14 files changed
+2179
-606
No files matched your search
@@ -571,22 +571,15 @@ public class LoginController : BaseScene
|
||||
appleUserId = userId;
|
||||
appleToken = token;
|
||||
signType = 2;
|
||||
var res = await ConfigHelper.userApi.OnAppleIdLoginCheck(userId, token);
|
||||
var res = await ConfigHelper.userApi.OnAppleQuickLogin(userId, token);
|
||||
if (res.result) //判断是否成功登录
|
||||
{
|
||||
var data = JObject.FromObject(res.data);
|
||||
if (data.ContainsKey("success") && data.Value<string>("success") == "False")
|
||||
{
|
||||
goSign();
|
||||
}
|
||||
else
|
||||
{
|
||||
RefreshWx3(data.ToObject<UserResultModel>(), 1);
|
||||
wxLogin3.gameObject.SetActive(true);
|
||||
signContainer.gameObject.SetActive(false);
|
||||
pageNums = 3;
|
||||
StartScrollPanel(2);
|
||||
}
|
||||
RefreshWx3(data.ToObject<UserResultModel>(), 1);
|
||||
wxLogin3.gameObject.SetActive(true);
|
||||
signContainer.gameObject.SetActive(false);
|
||||
pageNums = 3;
|
||||
StartScrollPanel(2);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user