mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-22 17:24:45 +01:00
Fix Android-CN -1 error
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user