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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
| spring:
| profiles:
| active: dev
| # 开发环境配置
| server:
| # 服务器的Http端口,默认为8090
| port: 8090
| servlet:
| #应用的访问路径
| context-path: /
|
| logging:
| level:
| ROOT: INFO
| com:
| xncoding: DEBUG
| file: /root/PubSvc/Logs/PubSvcAPI/HeartbeatServer.log
|
| system:
| # 短信
| sms:
| # 是否发送短信 0 发送 1不发送
| isSendSms: 1
| # 短信地址
| url: https://101.132.90.14/v2/sendSmsTp
| # 短信账户
| userName: gdghhy
| # 短信密码
| pwd: Gdgh1234
| # 公司名称
| signature: 【广东冠汇信息科技有限公司】
| # 脚本执行成功模版Id
| tpIdSuccess: 48319
| # 脚本执行失败模版Id
| tpIdError: 48327
| # 发送到目标手机号 可以多个以;分割
| mobiles: "13510693034;15815213711;18520822537"
| #mobiles: "15815213711;"
| netty:
| # 心跳目标服务地址
| #url: '127.0.0.1'
| url: '172.17.0.1'
| # 心跳目标服务端口
| #port: 7001
| port: 7000
| # 心跳检测时间间隔
| time-seconds: 5
| shell:
| # 是否启动自动执行脚本 0 执行 1不执行
| isRunShell: 0
| # 脚本
| url: 'sh /root/PubSvc/Bin/restart-base.sh'
|
|