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.Identity = new ChinaUserLoginEntity.IdentityJson();
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.PID = "NEBULA";
@@ -94,6 +96,9 @@ public class UserLoginHandler implements Handler {
response.Data.Identity.BirthDate = "";
response.Data.Identity.State = 1;
response.Data.Destroy.DestroyAt = 0;
response.Data.YostarDestroy.DestroyAt = 0;
var key = new ChinaUserLoginEntity.UserKeyJson();
key.Type = "mobile";
key.NickName = account.getEmail();

View File

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