You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
2.7 KiB
76 lines
2.7 KiB
spring:
|
|
datasource:
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
url: jdbc:mysql://127.0.0.1:3306/tduck?useSSL=false&useUnicode=true&characterEncoding=utf8&serverTimezone=UTC&tinyInt1isBit=false
|
|
username: root
|
|
password: 123456
|
|
type: com.zaxxer.hikari.HikariDataSource
|
|
hikari:
|
|
minimum-idle: 5
|
|
maximum-pool-size: 15
|
|
auto-commit: true
|
|
idle-timeout: 30000
|
|
pool-name: DatebookHikariCP
|
|
max-lifetime: 1800000
|
|
connection-test-query: SELECT 1 FROM DUAL
|
|
redis:
|
|
database: 1
|
|
host: 127.0.0.1
|
|
port: 6379
|
|
password: # 密码(默认为空)
|
|
timeout: 6000ms # 连接超时时长(毫秒)
|
|
jedis:
|
|
pool:
|
|
max-active: 1000 # 连接池最大连接数(使用负值表示没有限制)
|
|
max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
max-idle: 10 # 连接池中的最大空闲连接
|
|
min-idle: 5 # 连接池中的最小空闲连接
|
|
mail:
|
|
host: smtp.exmail.qq.com
|
|
username: mpw:9jwi2HILb4x+eVy2fA0SYeits0G3qlm/YajJdX0OKQU=
|
|
password: mpw:kLAEhMW75jvbXovAGdf4gEoe2/j6OJMaK2GYhTD8b8A=
|
|
|
|
logging:
|
|
level:
|
|
com.tduck.cloud: debug
|
|
config: classpath:logback-spring.xml
|
|
|
|
platform:
|
|
# oss:
|
|
# ossType: 1
|
|
# endpoint: 12
|
|
# accessKeyId: mpw:vT2DiLH0raFqd2+10sAGbvhyYQsWKuxj2YOnXAh+ZhAsMkhqcQBSa5tQosuposvs
|
|
# accessKeySecret: mpw:ZRJuLL9+aiBq+9PUN3wjrglLNvuK2yhKhrnSzw5P36P/E9QP4EIOIObeQvYjpaV/
|
|
# bucketName: tduck-cloud
|
|
# domain: https://qiniu.smileyi.top
|
|
oss:
|
|
ossType: 0
|
|
endpoint: oss-cn-qingdao.aliyuncs.com
|
|
accessKeyId: LTAIAlG9EsIjP3KY
|
|
accessKeySecret: CwP2YTz7iOBZtAdRQVoptVO7su5MOt
|
|
bucketName: elink-esua-epdc
|
|
domain: https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com
|
|
sms:
|
|
type: 1 # 短信平台类型
|
|
secretId: mpw:EvC1LR0eGdzeQzkuO7fhEazxGtmdue8FJDzSA1l+gICuOUEDXI8zcjK+VXB2aWKS
|
|
secretKey: mpw:W3kvWxvHdgUJPAwqR6mwpfMoQMerAYcxZGHwJc259lK3m+jzceGuu0Tgnx++02Bk
|
|
appId: 1400461467
|
|
sign: smileyi知识分享
|
|
validateCodeTemplateId: 808150
|
|
retrievePwdValidateCodeTemplateId: 809014
|
|
front:
|
|
baseUrl: http://localhost:8888/
|
|
resetPwdUrl: http://localhost:8888/forget/password?code={}&email={}
|
|
updateEmailUrl: http://localhost:8888/account/validate?type=updateEmail&code={}&email={}
|
|
wx:
|
|
mp:
|
|
redis-config-key-prefix: wx
|
|
configs:
|
|
- appId: wx642069ec751a1cad
|
|
secret: 6b9062c69cb5492e27dd833b53dfceb0
|
|
token: 1jkoyyih83nj8
|
|
aesKey: ALOIH0Mc1i21wkLyjvoyC4us210a5SAE2vMhnSwGPdx
|
|
# - appId: wxdcce08b6f0d17f25
|
|
# secret: 52ca70d162e5f931451d55f9a4423d33
|
|
# token: 1jkoyyih83nj8
|
|
# aesKey:
|
|
|