ios快捷登录

This commit is contained in:
Caiyanpeng committed 2022-01-27 16:54:20 +08:00
1 parent a625db3ebe
commit c12df53c18
14 files changed
+2179 -606

No files matched your search

+6 -13
View File
@@ -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
{