Class BytedeskProperties
java.lang.Object
com.bytedesk.core.config.properties.BytedeskProperties
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static enum
static class
static class
static class
static class
static class
private static class
static class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BytedeskProperties.Admin
private BytedeskProperties.Aliyun
private BytedeskProperties.Cache
private BytedeskProperties.Cluster
static final String
private BytedeskProperties.Cors
private BytedeskProperties.Custom
private Boolean
private String
private BytedeskProperties.Features
private static BytedeskProperties
private BytedeskProperties.Jwt
private BytedeskProperties.Kbase
private BytedeskProperties.Organization
private BytedeskProperties.Tencent
private BytedeskProperties.Testing
private BytedeskProperties.Upload
private String
private BytedeskProperties.WechatPay
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getEmail()
static BytedeskProperties
private String
handleChineseText
(String text, String envKey) 处理可能包含中文的文本void
init()
isInWhitelist
(String receiver)
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
instance
-
debug
-
edition
-
custom
-
admin
-
testing
-
organization
-
features
-
cors
-
jwt
-
cache
-
upload
-
cluster
-
kbase
-
aliyun
-
tencent
-
wechatPay
-
version
-
-
Constructor Details
-
BytedeskProperties
public BytedeskProperties()
-
-
Method Details
-
init
@PostConstruct public void init() -
handleChineseText
处理可能包含中文的文本- Parameters:
text
- 原始文本envKey
- 对应的环境变量key- Returns:
- 处理后的文本
-
getInstance
-
getEmail
-
getPassword
-
getPasswordDefault
-
getNickname
-
getMobile
-
getMobileWhitelist
-
getEmailWhitelist
-
getValidateCode
-
getOrganizationName
-
getOrganizationCode
-
getJavaAi
-
getPythonAi
-
getEmailType
-
getAvatarBaseUrl
-
getCorsAllowedOrigins
-
getJwtSecretKey
-
getJwtExpiration
-
getJwtRefreshTokenExpiration
-
getCacheLevel
-
getCachePrefix
-
getRedisStreamKey
-
getUploadType
-
getUploadDir
-
getUploadUrl
-
getClusterEnabled
-
getClusterNodes
-
getClusterHost
-
getClusterPort
public int getClusterPort() -
getKbaseTheme
-
getKbaseHtmlPath
-
getKbaseApiUrl
-
isAdmin
-
isInWhitelist
-