package com.yc.entity;
|
|
import com.google.gson.Gson;
|
|
import java.util.Date;
|
import java.util.Objects;
|
|
|
public class DataSourceEntity {
|
private int dbId = 0;
|
private String demoDataSource = null; //demo 数据源名称
|
private String systemID = null;
|
private String systemDescribe = null;
|
private String systemFlag = null;
|
private String host = null;
|
private String userid = null;
|
private String password = null;
|
private String db = null;
|
private String port = null;
|
private boolean actived = true;
|
private byte[] logoIcon;
|
private int activeVersion = 0;
|
private int dbFileMaxSize = 0;
|
private int siteSpaceMaxSize = 0;
|
private String domain = null;
|
private String smsUid = null;
|
private String smsKey = null;
|
private boolean isShowAttendanceButton = false;
|
|
private boolean isLoginOnceForOneUserCode=false;
|
private int limitUserNumber = 0;
|
private int limitDepartmentNumber = 0;
|
private String systemType = null;
|
private Date expiredDate = null;
|
private boolean isSaas = false;
|
private boolean isSendMail = false;
|
private String remarks = null;
|
private int dataCheckPageNum = 200;
|
private String corpId = null;
|
private String corpURL = null;
|
private String mpAppId = null;
|
private String mpSecret = null;
|
private String mpToken = null;
|
private String mpAesKey = null;
|
private String miniAppId = null;
|
private String miniAppSecret = null;
|
private String miniAppToken = null;
|
private String miniAppAesKey = null;
|
private String miniAppOrgId = null;
|
private String mpOrgId = null;
|
private String geoWebApiKey = null;
|
private int cltId = 0;
|
private int dataSize = 0; //单位: MB
|
private int logSize = 0; //单位: MB
|
private int totalSize = 0; //单位: MB
|
private int dataFreeSpace = 0; //单位 : MB
|
private int logFreeSpace = 0; //单位 : MB
|
private int totalFreeSpace = 0; //单位 : MB
|
private double freeSpaceRate = 0; //可用空间率
|
private String mpMchId = null; //微信商户 MchId
|
|
private String mpMchName = null; //支付时显示的企业名称
|
private String mpMchKey = null; //微信商户平台(pay.weixin.qq.com)-->账户设置-->API安全-->密钥设置
|
|
private String invitationCode = null; //注册验证码
|
private String SystemAccessKey = null; //appkey 用于德立
|
private String SystemSecretKey = null; //密钥 用于德立
|
private String DockingSystem = null; //对接系统 用于德立
|
private boolean isUseAPP = false;//是否启用APP功能
|
private boolean isShowInLoginPage = true; //是否在登录页面的下拉列表中显示
|
private boolean hasLogoIcon = false;//是否设置有LOGO图片
|
private String protocol = null; //传输协议: http or https , 用于 手机 移动端使用
|
private boolean isAutoGenerateFormId = false; //是否自动生成功能号
|
private String tengXunMapLocationServiceKey = null; //腾讯位置服务地图选点
|
|
private String paymentMethod;//在线支付 xin 2021-10-12 11:29:06
|
private String abcMchId;//江苏农行e收款商户编号
|
private Integer dataSourceInitialPoolSize;
|
private Integer dataSourceMinPoolSize;
|
private Integer dataSourceMaxPoolSize;
|
private Integer dataSourceAcquireIncrement;
|
private Integer dataSourceMaxIdleTime;
|
private Integer dataSourceMaxStatements;
|
private Integer dataSourceIdleConnectionTestPeriod;
|
private String domainIpList;
|
private String domainStaticIpList;
|
|
private String aliPayAppId;//支付宝APPId xin 2021-12-10 09:24:27
|
private Integer maintenanceFeeToDbId;//收取维护费所属公司 xin 2021-12-10 09:24:27
|
private String MaintenanceFeeAcctCode;//维护费账户 xin 2021-12-18 09:50:10
|
private String MaintenanceFeeInvoicePostCode;//维护费管理员 by danaus 2023-06-14 15:18
|
private String wynOrganizationId;//wyn组织 by danaus 2023-06-14 15:18
|
|
public String getWynOrganizationId() {
|
return wynOrganizationId;
|
}
|
|
public void setWynOrganizationId(String wynOrganizationId) {
|
this.wynOrganizationId = wynOrganizationId;
|
}
|
|
public String getMaintenanceFeeInvoicePostCode() {
|
return MaintenanceFeeInvoicePostCode;
|
}
|
|
public void setMaintenanceFeeInvoicePostCode(String maintenanceFeeInvoicePostCode) {
|
MaintenanceFeeInvoicePostCode = maintenanceFeeInvoicePostCode;
|
}
|
|
public String getMaintenanceFeeAcctCode() {
|
return MaintenanceFeeAcctCode;
|
}
|
|
public void setMaintenanceFeeAcctCode(String maintenanceFeeAcctCode) {
|
MaintenanceFeeAcctCode = maintenanceFeeAcctCode;
|
}
|
|
public String getAliPayAppId() {
|
return aliPayAppId;
|
}
|
|
public void setAliPayAppId(String aliPayAppId) {
|
this.aliPayAppId = aliPayAppId;
|
}
|
|
public Integer getMaintenanceFeeToDbId() {
|
return maintenanceFeeToDbId;
|
}
|
|
public void setMaintenanceFeeToDbId(Integer maintenanceFeeToDbId) {
|
this.maintenanceFeeToDbId = maintenanceFeeToDbId;
|
}
|
|
public String getDomainStaticIpList() {
|
return domainStaticIpList;
|
}
|
|
public void setDomainStaticIpList(String domainStaticIpList) {
|
this.domainStaticIpList = domainStaticIpList;
|
}
|
|
public Integer getDataSourceInitialPoolSize() {
|
return dataSourceInitialPoolSize;
|
}
|
|
public void setDataSourceInitialPoolSize(Integer dataSourceInitialPoolSize) {
|
this.dataSourceInitialPoolSize = dataSourceInitialPoolSize;
|
}
|
|
public Integer getDataSourceMinPoolSize() {
|
return dataSourceMinPoolSize;
|
}
|
|
public void setDataSourceMinPoolSize(Integer dataSourceMinPoolSize) {
|
this.dataSourceMinPoolSize = dataSourceMinPoolSize;
|
}
|
|
public Integer getDataSourceMaxPoolSize() {
|
return dataSourceMaxPoolSize;
|
}
|
|
public void setDataSourceMaxPoolSize(Integer dataSourceMaxPoolSize) {
|
this.dataSourceMaxPoolSize = dataSourceMaxPoolSize;
|
}
|
|
public Integer getDataSourceAcquireIncrement() {
|
return dataSourceAcquireIncrement;
|
}
|
|
public void setDataSourceAcquireIncrement(Integer dataSourceAcquireIncrement) {
|
this.dataSourceAcquireIncrement = dataSourceAcquireIncrement;
|
}
|
|
public Integer getDataSourceMaxIdleTime() {
|
return dataSourceMaxIdleTime;
|
}
|
|
public void setDataSourceMaxIdleTime(Integer dataSourceMaxIdleTime) {
|
this.dataSourceMaxIdleTime = dataSourceMaxIdleTime;
|
}
|
|
public Integer getDataSourceMaxStatements() {
|
return dataSourceMaxStatements;
|
}
|
|
public void setDataSourceMaxStatements(Integer dataSourceMaxStatements) {
|
this.dataSourceMaxStatements = dataSourceMaxStatements;
|
}
|
|
public Integer getDataSourceIdleConnectionTestPeriod() {
|
return dataSourceIdleConnectionTestPeriod;
|
}
|
|
public void setDataSourceIdleConnectionTestPeriod(Integer dataSourceIdleConnectionTestPeriod) {
|
this.dataSourceIdleConnectionTestPeriod = dataSourceIdleConnectionTestPeriod;
|
}
|
|
public String getDomainIpList() {
|
return domainIpList;
|
}
|
|
public void setDomainIpList(String domainIpList) {
|
this.domainIpList = domainIpList;
|
}
|
|
public String getPaymentMethod() {
|
return paymentMethod;
|
}
|
|
public void setPaymentMethod(String paymentMethod) {
|
this.paymentMethod = paymentMethod;
|
}
|
|
public String getAbcMchId() {
|
return abcMchId;
|
}
|
|
public void setAbcMchId(String abcMchId) {
|
this.abcMchId = abcMchId;
|
}
|
|
public String getTengXunMapLocationServiceKey() {
|
return tengXunMapLocationServiceKey;
|
}
|
|
public DataSourceEntity setTengXunMapLocationServiceKey(String tengXunMapLocationServiceKey) {
|
this.tengXunMapLocationServiceKey = tengXunMapLocationServiceKey;
|
return this;
|
}
|
|
public boolean isAutoGenerateFormId() {
|
return isAutoGenerateFormId;
|
}
|
|
public DataSourceEntity setAutoGenerateFormId(boolean isAutoGenerateFormId) {
|
this.isAutoGenerateFormId = isAutoGenerateFormId;
|
return this;
|
}
|
|
public String getProtocol() {
|
return protocol;
|
}
|
|
public DataSourceEntity setProtocol(String protocol) {
|
this.protocol = protocol;
|
return this;
|
}
|
|
public double getFreeSpaceRate() {
|
return freeSpaceRate;
|
}
|
|
public DataSourceEntity setFreeSpaceRate(double freeSpaceRate) {
|
this.freeSpaceRate = freeSpaceRate;
|
return this;
|
}
|
|
public int getDataFreeSpace() {
|
return dataFreeSpace;
|
}
|
|
public DataSourceEntity setDataFreeSpace(int dataFreeSpace) {
|
this.dataFreeSpace = dataFreeSpace;
|
return this;
|
}
|
|
public int getLogFreeSpace() {
|
return logFreeSpace;
|
}
|
|
public DataSourceEntity setLogFreeSpace(int logFreeSpace) {
|
this.logFreeSpace = logFreeSpace;
|
return this;
|
}
|
|
public int getTotalFreeSpace() {
|
return totalFreeSpace;
|
}
|
|
public DataSourceEntity setTotalFreeSpace(int totalFreeSpace) {
|
this.totalFreeSpace = totalFreeSpace;
|
return this;
|
}
|
|
public boolean isHasLogoIcon() {
|
return hasLogoIcon;
|
}
|
|
public DataSourceEntity setHasLogoIcon(boolean hasLogoIcon) {
|
this.hasLogoIcon = hasLogoIcon;
|
return this;
|
}
|
|
public boolean isShowInLoginPage() {
|
return isShowInLoginPage;
|
}
|
|
public DataSourceEntity setShowInLoginPage(boolean isShowInLoginPage) {
|
this.isShowInLoginPage = isShowInLoginPage;
|
return this;
|
}
|
|
public DataSourceEntity setUseAPP(boolean isUseAPP) {
|
this.isUseAPP = isUseAPP;
|
return this;
|
}
|
|
public boolean isUseAPP() {
|
return isUseAPP;
|
}
|
|
|
public String getDockingSystem() {
|
return DockingSystem;
|
}
|
|
public DataSourceEntity setDockingSystem(String dockingSystem) {
|
DockingSystem = dockingSystem;
|
return this;
|
}
|
|
public String getSystemAccessKey() {
|
return SystemAccessKey;
|
}
|
|
public DataSourceEntity setSystemAccessKey(String systemAccessKey) {
|
SystemAccessKey = systemAccessKey;
|
return this;
|
}
|
|
public String getSystemSecretKey() {
|
return SystemSecretKey;
|
}
|
|
public DataSourceEntity setSystemSecretKey(String systemSecretKey) {
|
SystemSecretKey = systemSecretKey;
|
return this;
|
}
|
/*
|
private String corpIdBy3rd = null ; //企业微信第三方 CorpId
|
private String corpSecretBy3rd = null ; //企业微信第三方 ProviderSecret
|
private String corpTokenBy3rd = null ; //企业微信第三方 Token
|
private String corpAESKeyBy3rd = null ; //企业微信第三方 EncodingAESKey
|
|
private String mpOpenAppIdBy3rd = null; //开放平台第三方 CorpId
|
private String mpOpenSecretBy3rd = null ; //开放平台第三方 ProviderSecret
|
private String mpOpenTokenBy3rd = null ; //开放平台第三方 Token
|
private String mpOpenAESKeyBy3rd = null ; //开放平台第三方 EncodingAESKey
|
*/
|
|
public String getDemoDataSource() {
|
return demoDataSource;
|
}
|
|
public String getMiniAppOrgId() {
|
return miniAppOrgId;
|
}
|
|
public DataSourceEntity setMiniAppOrgId(String miniAppOrgId) {
|
this.miniAppOrgId = miniAppOrgId;
|
return this;
|
}
|
|
public DataSourceEntity setDemoDataSource(String demoDataSource) {
|
this.demoDataSource = demoDataSource;
|
return this;
|
}
|
|
public String getMiniAppId() {
|
return miniAppId;
|
}
|
|
public DataSourceEntity setMiniAppId(String miniAppId) {
|
this.miniAppId = miniAppId;
|
return this;
|
}
|
|
public String getMiniAppSecret() {
|
return miniAppSecret;
|
}
|
|
public DataSourceEntity setMiniAppSecret(String miniAppSecret) {
|
this.miniAppSecret = miniAppSecret;
|
return this;
|
}
|
|
public String getMiniAppToken() {
|
return miniAppToken;
|
}
|
|
public DataSourceEntity setMiniAppToken(String miniAppToken) {
|
this.miniAppToken = miniAppToken;
|
return this;
|
}
|
|
public String getMiniAppAesKey() {
|
return miniAppAesKey;
|
}
|
|
public DataSourceEntity setMiniAppAesKey(String miniAppAesKey) {
|
this.miniAppAesKey = miniAppAesKey;
|
return this;
|
}
|
|
public String getInvitationCode() {
|
return invitationCode;
|
}
|
|
public DataSourceEntity setInvitationCode(String invitationCode) {
|
this.invitationCode = invitationCode;
|
return this;
|
}
|
|
private String scanCode; //条码信息
|
private boolean isDisabledOpenNextPeriodId = false; //禁止系统作业程序自动打开下个月期间(如果不禁用此选项,则每月 24号,25号,27号,28号,30,31号系统自动尝试打开下个月的会计期间)
|
|
public boolean isDisabledOpenNextPeriodId() {
|
return isDisabledOpenNextPeriodId;
|
}
|
|
public DataSourceEntity setDisabledOpenNextPeriodId(boolean isDisabledOpenNextPeriodId) {
|
this.isDisabledOpenNextPeriodId = isDisabledOpenNextPeriodId;
|
return this;
|
}
|
|
|
public String getMpMchKey() {
|
return mpMchKey;
|
}
|
|
public DataSourceEntity setMpMchKey(String mpMchKey) {
|
this.mpMchKey = mpMchKey;
|
return this;
|
}
|
|
public String getMpMchName() {
|
return mpMchName;
|
}
|
|
public DataSourceEntity setMpMchName(String mpMchName) {
|
this.mpMchName = mpMchName;
|
return this;
|
}
|
|
public String getMpMchId() {
|
return mpMchId;
|
}
|
|
public DataSourceEntity setMpMchId(String mpMchId) {
|
this.mpMchId = mpMchId;
|
return this;
|
}
|
|
public int getTotalSize() {
|
return totalSize;
|
}
|
|
public DataSourceEntity setTotalSize(int totalSize) {
|
this.totalSize = totalSize;
|
return this;
|
}
|
|
public int getDataSize() {
|
return dataSize;
|
}
|
|
public DataSourceEntity setDataSize(int dataSize) {
|
this.dataSize = dataSize;
|
return this;
|
}
|
|
public int getLogSize() {
|
return logSize;
|
}
|
|
public DataSourceEntity setLogSize(int logSize) {
|
this.logSize = logSize;
|
return this;
|
}
|
|
|
public String getScanCode() {
|
return scanCode;
|
}
|
|
public DataSourceEntity setScanCode(String scanCode) {
|
this.scanCode = scanCode;
|
return this;
|
}
|
|
public int getCltId() {
|
return cltId;
|
}
|
|
public DataSourceEntity setCltId(int cltId) {
|
this.cltId = cltId;
|
return this;
|
}
|
|
private Integer expiredDays = null; //数据源过期天数:正数表示已经过期, null 或 负数表示未过期
|
private Integer expiredMinute = null; //数据源过期分钟数:正数表示已经过期, null 或 负数表示未过期
|
|
|
public Integer getExpiredMinute() {
|
return expiredMinute;
|
}
|
|
public void setExpiredMinute(Integer expiredMinute) {
|
this.expiredMinute = expiredMinute;
|
}
|
|
public int getDbId() {
|
return dbId;
|
}
|
|
public DataSourceEntity setDbId(int dbId) {
|
this.dbId = dbId;
|
return this;
|
}
|
|
public String getSystemID() {
|
return systemID;
|
}
|
|
public DataSourceEntity setSystemID(String systemID) {
|
this.systemID = systemID;
|
return this;
|
}
|
|
public String getSystemDescribe() {
|
return systemDescribe;
|
}
|
|
public DataSourceEntity setSystemDescribe(String systemDescribe) {
|
this.systemDescribe = systemDescribe;
|
return this;
|
}
|
|
public String getSystemFlag() {
|
return systemFlag;
|
}
|
|
public DataSourceEntity setSystemFlag(String systemFlag) {
|
this.systemFlag = systemFlag;
|
return this;
|
}
|
|
public String getHost() {
|
return host;
|
}
|
|
public DataSourceEntity setHost(String host) {
|
this.host = host;
|
return this;
|
}
|
|
public String getUserid() {
|
return userid;
|
}
|
|
public DataSourceEntity setUserid(String userid) {
|
this.userid = userid;
|
return this;
|
}
|
|
public String getPassword() {
|
return password;
|
}
|
|
public DataSourceEntity setPassword(String password) {
|
this.password = password;
|
return this;
|
}
|
|
public String getDb() {
|
return db;
|
}
|
|
public DataSourceEntity setDb(String db) {
|
this.db = db;
|
return this;
|
}
|
|
public String getPort() {
|
return port;
|
}
|
|
public DataSourceEntity setPort(String port) {
|
this.port = port;
|
return this;
|
}
|
|
|
public byte[] getLogoIcon() {
|
return logoIcon;
|
}
|
|
public DataSourceEntity setLogoIcon(byte[] logoIcon) {
|
this.logoIcon = logoIcon;
|
return this;
|
}
|
|
public int getActiveVersion() {
|
return activeVersion;
|
}
|
|
public DataSourceEntity setActiveVersion(int activeVersion) {
|
this.activeVersion = activeVersion;
|
return this;
|
}
|
|
public int getDbFileMaxSize() {
|
return dbFileMaxSize;
|
}
|
|
public DataSourceEntity setDbFileMaxSize(int dbFileMaxSize) {
|
this.dbFileMaxSize = dbFileMaxSize;
|
return this;
|
}
|
|
public int getSiteSpaceMaxSize() {
|
return siteSpaceMaxSize;
|
}
|
|
public DataSourceEntity setSiteSpaceMaxSize(int siteSpaceMaxSize) {
|
this.siteSpaceMaxSize = siteSpaceMaxSize;
|
return this;
|
}
|
|
public String getDomain() {
|
return domain;
|
}
|
|
public DataSourceEntity setDomain(String domain) {
|
this.domain = domain;
|
return this;
|
}
|
|
public String getSmsUid() {
|
return smsUid;
|
}
|
|
public DataSourceEntity setSmsUid(String smsUid) {
|
this.smsUid = smsUid;
|
return this;
|
}
|
|
public String getSmsKey() {
|
return smsKey;
|
}
|
|
public DataSourceEntity setSmsKey(String smsKey) {
|
this.smsKey = smsKey;
|
return this;
|
}
|
|
public boolean isShowAttendanceButton() {
|
return isShowAttendanceButton;
|
}
|
|
public DataSourceEntity setShowAttendanceButton(boolean isShowAttendanceButton) {
|
this.isShowAttendanceButton = isShowAttendanceButton;
|
return this;
|
}
|
|
public boolean isLoginOnceForOneUserCode() {
|
return isLoginOnceForOneUserCode;
|
}
|
|
public void setLoginOnceForOneUserCode(boolean isLoginOnceForOneUserCode) {
|
this.isLoginOnceForOneUserCode = isLoginOnceForOneUserCode;
|
}
|
|
public int getLimitUserNumber() {
|
return limitUserNumber;
|
}
|
|
public DataSourceEntity setLimitUserNumber(int limitUserNumber) {
|
this.limitUserNumber = limitUserNumber;
|
return this;
|
}
|
|
public int getLimitDepartmentNumber() {
|
return limitDepartmentNumber;
|
}
|
|
public DataSourceEntity setLimitDepartmentNumber(int limitDepartmentNumber) {
|
this.limitDepartmentNumber = limitDepartmentNumber;
|
return this;
|
}
|
|
public String getSystemType() {
|
return systemType;
|
}
|
|
public DataSourceEntity setSystemType(String systemType) {
|
this.systemType = systemType;
|
return this;
|
}
|
|
public Date getExpiredDate() {
|
return expiredDate;
|
}
|
|
public DataSourceEntity setExpiredDate(Date expiredDate) {
|
this.expiredDate = expiredDate;
|
return this;
|
}
|
|
public boolean isSaas() {
|
return isSaas;
|
}
|
|
public DataSourceEntity setSaas(boolean isSaas) {
|
this.isSaas = isSaas;
|
return this;
|
}
|
|
public boolean isSendMail() {
|
return isSendMail;
|
}
|
|
public DataSourceEntity setSendMail(boolean isSendMail) {
|
this.isSendMail = isSendMail;
|
return this;
|
}
|
|
public String getRemarks() {
|
return remarks;
|
}
|
|
public DataSourceEntity setRemarks(String remarks) {
|
this.remarks = remarks;
|
return this;
|
}
|
|
public int getDataCheckPageNum() {
|
return dataCheckPageNum;
|
}
|
|
public DataSourceEntity setDataCheckPageNum(int dataCheckPageNum) {
|
this.dataCheckPageNum = dataCheckPageNum;
|
return this;
|
}
|
|
public String getCorpId() {
|
return corpId;
|
}
|
|
public DataSourceEntity setCorpId(String corpId) {
|
this.corpId = corpId;
|
return this;
|
}
|
|
|
public String getCorpURL() {
|
return corpURL;
|
}
|
|
public DataSourceEntity setCorpURL(String corpURL) {
|
this.corpURL = corpURL;
|
return this;
|
}
|
|
public String getMpAppId() {
|
return mpAppId;
|
}
|
|
public DataSourceEntity setMpAppId(String mpAppId) {
|
this.mpAppId = mpAppId;
|
return this;
|
}
|
|
public String getMpSecret() {
|
return mpSecret;
|
}
|
|
public DataSourceEntity setMpSecret(String mpSecret) {
|
this.mpSecret = mpSecret;
|
return this;
|
}
|
|
public String getMpToken() {
|
return mpToken;
|
}
|
|
public DataSourceEntity setMpToken(String mpToken) {
|
this.mpToken = mpToken;
|
return this;
|
}
|
|
public String getMpAesKey() {
|
return mpAesKey;
|
}
|
|
public DataSourceEntity setMpAesKey(String mpAesKey) {
|
this.mpAesKey = mpAesKey;
|
return this;
|
}
|
|
public String getMpOrgId() {
|
return mpOrgId;
|
}
|
|
public DataSourceEntity setMpOrgId(String mpOrgId) {
|
this.mpOrgId = mpOrgId;
|
return this;
|
}
|
|
public String getGeoWebApiKey() {
|
return geoWebApiKey;
|
}
|
|
public DataSourceEntity setGeoWebApiKey(String geoWebApiKey) {
|
this.geoWebApiKey = geoWebApiKey;
|
return this;
|
}
|
|
public boolean getActived() {
|
return actived;
|
}
|
|
public DataSourceEntity setActived(boolean actived) {
|
this.actived = actived;
|
return this;
|
}
|
|
public Integer getExpiredDays() {
|
return expiredDays;
|
}
|
|
public DataSourceEntity setExpiredDays(Integer expiredDays) {
|
this.expiredDays = expiredDays;
|
return this;
|
}
|
|
public boolean isExpiredDate() {
|
return ((expiredMinute != null && expiredMinute.intValue() > 0) || !actived) ? true : false;
|
}
|
|
@Override
|
public boolean equals(Object o) {
|
if (this == o) return true;
|
if (o == null || getClass() != o.getClass()) return false;
|
DataSourceEntity that = (DataSourceEntity) o;
|
return dbId == that.dbId;
|
}
|
|
@Override
|
public int hashCode() {
|
return Objects.hash(dbId, systemDescribe);
|
}
|
|
public static DataSourceEntity build(String message) {
|
Gson gson = new Gson();
|
DataSourceEntity msg = gson.fromJson(message, new com.google.gson.reflect.TypeToken<DataSourceEntity>() {
|
}.getType()); //该写法报 empty string 错误,改为下面的写法
|
// Message msg = MessageGsonBuilder.create().fromJson(message, Message.class); //为了解决 empty string 错误,故重新实现取数方法 , Added by Johns Wang, 2018-11-11
|
return msg;
|
}
|
}
|