mirror of
https://github.com/czp3009/bilibili-api.git
synced 2025-02-19 20:50:28 +08:00
修正数据类型
This commit is contained in:
parent
1c5c8a81fd
commit
793d5e131e
@ -10,7 +10,7 @@ public class InfoEntity {
|
||||
*/
|
||||
|
||||
@SerializedName("ts")
|
||||
private int ts;
|
||||
private long ts;
|
||||
@SerializedName("code")
|
||||
private int code;
|
||||
@SerializedName("message")
|
||||
@ -18,11 +18,11 @@ public class InfoEntity {
|
||||
@SerializedName("data")
|
||||
private DataEntity data;
|
||||
|
||||
public int getTs() {
|
||||
public long getTs() {
|
||||
return ts;
|
||||
}
|
||||
|
||||
public void setTs(int ts) {
|
||||
public void setTs(long ts) {
|
||||
this.ts = ts;
|
||||
}
|
||||
|
||||
@ -61,23 +61,23 @@ public class InfoEntity {
|
||||
*/
|
||||
|
||||
@SerializedName("mid")
|
||||
private int mid;
|
||||
private long mid;
|
||||
@SerializedName("appid")
|
||||
private int appid;
|
||||
@SerializedName("access_token")
|
||||
private String accessToken;
|
||||
@SerializedName("expires_in")
|
||||
private int expiresIn;
|
||||
private long expiresIn;
|
||||
@SerializedName("userid")
|
||||
private String userid;
|
||||
@SerializedName("uname")
|
||||
private String uname;
|
||||
|
||||
public int getMid() {
|
||||
public long getMid() {
|
||||
return mid;
|
||||
}
|
||||
|
||||
public void setMid(int mid) {
|
||||
public void setMid(long mid) {
|
||||
this.mid = mid;
|
||||
}
|
||||
|
||||
@ -97,11 +97,11 @@ public class InfoEntity {
|
||||
this.accessToken = accessToken;
|
||||
}
|
||||
|
||||
public int getExpiresIn() {
|
||||
public long getExpiresIn() {
|
||||
return expiresIn;
|
||||
}
|
||||
|
||||
public void setExpiresIn(int expiresIn) {
|
||||
public void setExpiresIn(long expiresIn) {
|
||||
this.expiresIn = expiresIn;
|
||||
}
|
||||
|
||||
|
@ -10,7 +10,7 @@ public class KeyEntity {
|
||||
*/
|
||||
|
||||
@SerializedName("ts")
|
||||
private int ts;
|
||||
private long ts;
|
||||
@SerializedName("code")
|
||||
private int code;
|
||||
@SerializedName("message")
|
||||
@ -18,11 +18,11 @@ public class KeyEntity {
|
||||
@SerializedName("data")
|
||||
private DataEntity data;
|
||||
|
||||
public int getTs() {
|
||||
public long getTs() {
|
||||
return ts;
|
||||
}
|
||||
|
||||
public void setTs(int ts) {
|
||||
public void setTs(long ts) {
|
||||
this.ts = ts;
|
||||
}
|
||||
|
||||
|
@ -12,7 +12,7 @@ public class LogoutResponseEntity {
|
||||
@SerializedName("message")
|
||||
private String message;
|
||||
@SerializedName("ts")
|
||||
private int ts;
|
||||
private long ts;
|
||||
@SerializedName("code")
|
||||
private int code;
|
||||
|
||||
@ -24,11 +24,11 @@ public class LogoutResponseEntity {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public int getTs() {
|
||||
public long getTs() {
|
||||
return ts;
|
||||
}
|
||||
|
||||
public void setTs(int ts) {
|
||||
public void setTs(long ts) {
|
||||
this.ts = ts;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user