package com.hx.phip.his.config; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; /** * 系统配置 */ @Component public class SystemConfig { /*企业微信小程序应用id*/ @Value("${systemConfig.corpAgentId}") private String corpAgentId; /*企业微信id*/ @Value("${systemConfig.corpId}") private String corpId; /**企业微信小程序秘钥*/ @Value("${systemConfig.corpMpSecret}") private String corpMpSecret; /**企业微信通信录密钥*/ @Value("${systemConfig.corpAddrSecret}") private String corpAddrSecret; /**小程序AppId*/ @Value("${systemConfig.appId}") private String appId; /**小程序AppSecret*/ @Value("${systemConfig.appSecret}") private String appSecret; /**文件上传保存路径*/ @Value("${systemConfig.filePath}") private String filePath; /**文件访问域名*/ @Value("${systemConfig.fileDomain}") private String fileDomain; @Value("${api.apiUrl}") private String apiUrl; @Value("${api.appId}") private String apiAppId; @Value("${api.code}") private String apiCode; @Value("${api.secret}") private String apiSecret; @Value("${systemConfig.isDev}") private Integer isDev; @Value("${systemConfig.baseUrl}") private String baseUrl; @Value("${systemConfig.appid}") private String poiAppId; @Value("${systemConfig.secret}") private String poiSecret; @Value("${systemConfig.code}") private String poiCode; @Value("${systemConfig.clenit.token}") private String clenitToken; @Value("${systemConfig.clenit.aeskey}") private String clenitAeskey; @Value("${dataCentre.url}") private String dataCentreUrl; @Value("${systemConfig.stUrl:}") private String stUrl; @Value("${systemConfig.stKey:}") private String stKey; @Value("${systemConfig.stSecret:}") private String stSecret; @Value("${systemConfig.cos.bucketName:}") private String cosBucketName; @Value("${systemConfig.koapUrl:}") private String koapUrl; @Value("${systemConfig.koaClientId:}") private String koaClientId; @Value("${systemConfig.KoaClientSecret:}") private String KoaClientSecret; @Value("${systemConfig.koaGrantType:}") private String koaGrantType; @Value("${systemConfig.koaClinicCode:}") private String koaClinicCode; @Value("${systemConfig.phimedUrl:}") private String phimedUrl; @Value("${rsa.appId:}") private String rsaAppId; @Value("${rsa.privatekey:}") private String rsaPrivatekey; @Value("${rsa.publickey:}") private String rsaPublickey; @Value("${systemConfig.isSpa:}") private String isSpa; public SystemConfig() { } public String getKoapUrl() { return koapUrl; } public void setKoapUrl(String koapUrl) { this.koapUrl = koapUrl; } public String getKoaClientId() { return koaClientId; } public void setKoaClientId(String koaClientId) { this.koaClientId = koaClientId; } public String getKoaClientSecret() { return KoaClientSecret; } public void setKoaClientSecret(String koaClientSecret) { KoaClientSecret = koaClientSecret; } public String getKoaGrantType() { return koaGrantType; } public void setKoaGrantType(String koaGrantType) { this.koaGrantType = koaGrantType; } public String getKoaClinicCode() { return koaClinicCode; } public void setKoaClinicCode(String koaClinicCode) { this.koaClinicCode = koaClinicCode; } public String getStUrl() { return stUrl; } public void setStUrl(String stUrl) { this.stUrl = stUrl; } public String getStSecret() { return stSecret; } public void setStSecret(String stSecret) { this.stSecret = stSecret; } public String getStKey() { return stKey; } public void setStKey(String stKey) { this.stKey = stKey; } public String getCorpId() { return corpId; } public void setCorpId(String corpId) { this.corpId = corpId; } public String getCorpMpSecret() { return corpMpSecret; } public void setCorpMpSecret(String corpMpSecret) { this.corpMpSecret = corpMpSecret; } public String getAppId() { return appId; } public void setAppId(String appId) { this.appId = appId; } public String getAppSecret() { return appSecret; } public void setAppSecret(String appSecret) { this.appSecret = appSecret; } public String getCorpAddrSecret() { return corpAddrSecret; } public void setCorpAddrSecret(String corpAddrSecret) { this.corpAddrSecret = corpAddrSecret; } public String getFilePath() { return filePath; } public void setFilePath(String filePath) { this.filePath = filePath; } public String getFileDomain() { return fileDomain; } public void setFileDomain(String fileDomain) { this.fileDomain = fileDomain; } public String getCorpAgentId() { return corpAgentId; } public void setCorpAgentId(String corpAgentId) { this.corpAgentId = corpAgentId; } public String getApiAppId() { return apiAppId; } public void setApiAppId(String apiAppId) { this.apiAppId = apiAppId; } public String getApiCode() { return apiCode; } public void setApiCode(String apiCode) { this.apiCode = apiCode; } public String getApiSecret() { return apiSecret; } public void setApiSecret(String apiSecret) { this.apiSecret = apiSecret; } public String getApiUrl() { return apiUrl; } public void setApiUrl(String apiUrl) { this.apiUrl = apiUrl; } public String getDefaultImg() { return fileDomain + "adminweb/tx.jpg"; } public Integer getIsDev() { return isDev; } public void setIsDev(Integer isDev) { this.isDev = isDev; } public String getBaseUrl() { return baseUrl; } public void setBaseUrl(String baseUrl) { this.baseUrl = baseUrl; } public String getPoiAppId() { return poiAppId; } public void setPoiAppId(String poiAppId) { this.poiAppId = poiAppId; } public String getPoiSecret() { return poiSecret; } public void setPoiSecret(String poiSecret) { this.poiSecret = poiSecret; } public String getPoiCode() { return poiCode; } public void setPoiCode(String poiCode) { this.poiCode = poiCode; } public String getClenitToken() { return clenitToken; } public void setClenitToken(String clenitToken) { this.clenitToken = clenitToken; } public String getClenitAeskey() { return clenitAeskey; } public void setClenitAeskey(String clenitAeskey) { this.clenitAeskey = clenitAeskey; } public String getDataCentreUrl() { return dataCentreUrl; } public void setDataCentreUrl(String dataCentreUrl) { this.dataCentreUrl = dataCentreUrl; } public String getPhimedUrl() { return phimedUrl; } public void setPhimedUrl(String phimedUrl) { this.phimedUrl = phimedUrl; } public String getRsaAppId() { return rsaAppId; } public void setRsaAppId(String rsaAppId) { this.rsaAppId = rsaAppId; } public String getRsaPrivatekey() { return rsaPrivatekey; } public void setRsaPrivatekey(String rsaPrivatekey) { this.rsaPrivatekey = rsaPrivatekey; } public String getRsaPublickey() { return rsaPublickey; } public void setRsaPublickey(String rsaPublickey) { this.rsaPublickey = rsaPublickey; } public String getCosBucketName() { return cosBucketName; } public void setCosBucketName(String cosBucketName) { this.cosBucketName = cosBucketName; } public String getIsSpa() { return isSpa; } public void setIsSpa(String isSpa) { this.isSpa = isSpa; } }