api/version和gettoken都添加节点信息

This commit is contained in:
heavyrian2012
2025-06-19 19:15:35 +08:00
parent 883866ce39
commit 18617c67f4
3 changed files with 17 additions and 2 deletions
@@ -3,13 +3,15 @@ package cn.wildfirechat.pojos;
public class OutputGetIMTokenData {
private String userId;
private String token;
private String serverLabel;
public OutputGetIMTokenData() {
}
public OutputGetIMTokenData(String userId, String imToken) {
public OutputGetIMTokenData(String userId, String imToken, String label) {
this.userId = userId;
this.token = imToken;
this.serverLabel = label;
}
public String getUserId() {
@@ -27,4 +29,12 @@ public class OutputGetIMTokenData {
public void setToken(String token) {
this.token = token;
}
public String getServerLabel() {
return serverLabel;
}
public void setServerLabel(String serverLabel) {
this.serverLabel = serverLabel;
}
}