[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-F5B94JMu-1644834211770)(http://jgshowdoc.jgyun.cn/server/index.php?s=/api/attachment/visitFile/sign/9a384ce60d1bf93b41f0fa229f7e73c3)]
# demo
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
type: com.alibaba.druid.pool.DruidDataSource
url: jdbc:mysql://127.0.0.1:3306/datart?&allowMultiQueries=true
username: root
password: mysql123456
mail:
host: smtp.exmail.qq.com
port: 465
username: byc@xxxx.com
fromAddress:
password: xxxxxxxx
senderName: xxxxx
properties:
smtp:
starttls:
enable: true
required: true
auth: true
mail:
smtp:
ssl:
enable: true
server:
port: 9999
address: 0.0.0.0
datart:
server:
address: http://127.0.0.1:8888
user:
active:
send-mail: false # 注册用户时是否需要邮件验证激活
security:
token:
secret: "d@a$t%a^r&a*t" #加密密钥
timeout-min: 30 # 登录会话有效时长,单位:分钟。
env:
file-path: ${user.dir}/files # 服务端文件保存位置
screenshot:
timeout-seconds: 60
webdriver-type: CHROME
webdriver-path:
# 153
proxy: {
'/api/v1': {
target: 'http://127.0.0.1:9999/',
},
'/resources': {
target: 'http://127.0.0.1:9999/',
},
},