[F] export api and game api leaking lastClientId

pull/50/head
Clansty 2024-08-05 21:36:20 +08:00
parent 9ef0d0edfb
commit fc10c05731
No known key found for this signature in database
GPG Key ID: 3A6BE8BAF2EDE134
9 changed files with 13 additions and 1 deletions

View File

@ -114,5 +114,6 @@ public class ExternalUserData {
private String lastAllNetId; private String lastAllNetId;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String lastClientId; private String lastClientId;
} }

View File

@ -114,5 +114,6 @@ public class ExternalUserData {
private String lastAllNetId; private String lastAllNetId;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String lastClientId; private String lastClientId;
} }

View File

@ -1,5 +1,6 @@
package icu.samnyan.aqua.api.model.resp.sega.maimai2.external; package icu.samnyan.aqua.api.model.resp.sega.maimai2.external;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
@ -49,6 +50,7 @@ public class ExternalUserData implements Serializable {
private int lastAllNetId; private int lastAllNetId;
private int lastRegionId; private int lastRegionId;
private String lastRegionName; private String lastRegionName;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String lastClientId; private String lastClientId;
private String lastCountryCode; private String lastCountryCode;
private int lastSelectEMoney; private int lastSelectEMoney;

View File

@ -1,5 +1,6 @@
package icu.samnyan.aqua.api.model.resp.sega.ongeki.external; package icu.samnyan.aqua.api.model.resp.sega.ongeki.external;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
@ -124,6 +125,7 @@ public class ExternalUserData implements Serializable {
private int lastAllNetId; private int lastAllNetId;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String lastClientId; private String lastClientId;
private int lastUsedDeckId; private int lastUsedDeckId;

View File

@ -183,5 +183,6 @@ public class UserData implements Serializable {
private String lastAllNetId; private String lastAllNetId;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String lastClientId; private String lastClientId;
} }

View File

@ -223,6 +223,7 @@ public class Chu3UserData implements Serializable, IUserData {
private String lastAllNetId; private String lastAllNetId;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String lastClientId; private String lastClientId;
private String lastCountryCode; private String lastCountryCode;

View File

@ -117,6 +117,7 @@ public class UserData implements Serializable {
private String lastRegionName; private String lastRegionName;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String lastClientId; private String lastClientId;
private String lastCountryCode; private String lastCountryCode;

View File

@ -70,6 +70,8 @@ class Mai2UserDetail(
var lastAllNetId: Int = 0, var lastAllNetId: Int = 0,
var lastRegionId: Int = 0, var lastRegionId: Int = 0,
var lastRegionName: String = "", var lastRegionName: String = "",
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
override var lastClientId: String = "", override var lastClientId: String = "",
var lastCountryCode: String = "", var lastCountryCode: String = "",
var lastSelectEMoney: Int = 0, var lastSelectEMoney: Int = 0,
@ -153,4 +155,4 @@ class Mai2UserDetail(
@get:JsonIgnore @get:JsonIgnore
override val totalScore: Long override val totalScore: Long
get() = totalDeluxscore get() = totalDeluxscore
} }

View File

@ -150,6 +150,7 @@ public class UserData implements Serializable, IUserData {
private int lastAllNetId; private int lastAllNetId;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String lastClientId; private String lastClientId;
private int lastUsedDeckId; private int lastUsedDeckId;