application.yml
708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
server:
port: 18080
scheduler:
auto-bind:
# 自动绑应用
app-enabled: true
# 自动绑服务包
service-enabled: true
# 内容自动上线
media-online-enabled: true
cron:
auto-bind:
# 任务执行间隔
app: 0/10 * * * * ?
service: 0/10 * * * * ?
media-online: 0/10 * * * * ?
spring:
mail:
host: smtp.ym.163.com
username: test@topdraw.cn
password: 123456789
protocol: smtp
default-encoding: utf-8
developer-mail-address: wanghongyan@topdraw.cn
profiles:
active: dev
entity:
# 自动绑的应用id
appId: 63
# 自动绑的服务包id
serviceId: 1
# 自动上线判断依据:创建更新时间间隔秒
difference: 1800