Fix Android-CN -1 error

This commit is contained in:
HongchengQ
2025-12-13 22:46:34 +08:00
committed by Melledy
parent e5ffb1743a
commit 4fb2712a89
2 changed files with 17 additions and 5 deletions

View File

@@ -71,6 +71,8 @@ public class UserLoginHandler implements Handler {
response.Data.Yostar = new ChinaUserLoginEntity.LoginYostarJson(); response.Data.Yostar = new ChinaUserLoginEntity.LoginYostarJson();
response.Data.Identity = new ChinaUserLoginEntity.IdentityJson(); response.Data.Identity = new ChinaUserLoginEntity.IdentityJson();
response.Data.TaptapProfile = null; response.Data.TaptapProfile = null;
response.Data.Destroy = new ChinaUserLoginEntity.DestroyJson();
response.Data.YostarDestroy = new ChinaUserLoginEntity.YostarDestroyJson();
response.Data.User.ID = Long.parseLong(account.getUid()); response.Data.User.ID = Long.parseLong(account.getUid());
response.Data.User.PID = "NEBULA"; response.Data.User.PID = "NEBULA";
@@ -94,6 +96,9 @@ public class UserLoginHandler implements Handler {
response.Data.Identity.BirthDate = ""; response.Data.Identity.BirthDate = "";
response.Data.Identity.State = 1; response.Data.Identity.State = 1;
response.Data.Destroy.DestroyAt = 0;
response.Data.YostarDestroy.DestroyAt = 0;
var key = new ChinaUserLoginEntity.UserKeyJson(); var key = new ChinaUserLoginEntity.UserKeyJson();
key.Type = "mobile"; key.Type = "mobile";
key.NickName = account.getEmail(); key.NickName = account.getEmail();

View File

@@ -8,9 +8,6 @@ public class ChinaUserLoginEntity {
public String Msg; public String Msg;
public static class UserDetailJson { public static class UserDetailJson {
public Object Destroy;
public Object YostarDestroy;
public boolean IsNew; public boolean IsNew;
public boolean IsTestAccount; public boolean IsTestAccount;
public List<UserKeyJson> Keys; public List<UserKeyJson> Keys;
@@ -18,6 +15,8 @@ public class ChinaUserLoginEntity {
public LoginYostarJson Yostar; public LoginYostarJson Yostar;
public Object TaptapProfile; public Object TaptapProfile;
public IdentityJson Identity; public IdentityJson Identity;
public DestroyJson Destroy;
public YostarDestroyJson YostarDestroy;
} }
public static class UserJson { public static class UserJson {
@@ -53,4 +52,12 @@ public class ChinaUserLoginEntity {
public String BirthDate; public String BirthDate;
public int State; public int State;
} }
public static class DestroyJson {
public int DestroyAt;
}
public static class YostarDestroyJson {
public int DestroyAt;
}
} }