180 lines
4.9 KiB
YAML
180 lines
4.9 KiB
YAML
|
server:
|
|||
|
port: 9000
|
|||
|
|
|||
|
spring:
|
|||
|
profiles:
|
|||
|
active: dev
|
|||
|
application:
|
|||
|
name: joylink-rtss
|
|||
|
jackson:
|
|||
|
date-format: yyyy-MM-dd HH:mm:ss
|
|||
|
time-zone: GMT+8
|
|||
|
default-property-inclusion: non_null
|
|||
|
servlet:
|
|||
|
multipart:
|
|||
|
max-file-size: 10MB
|
|||
|
# JavaMailSender 邮件发送的配置
|
|||
|
mail:
|
|||
|
host: smtp.exmail.qq.com
|
|||
|
port: 465
|
|||
|
username: ServiceEmail@joylink.club
|
|||
|
password: wFHcZQFuigKPvpSr
|
|||
|
properties:
|
|||
|
mail:
|
|||
|
smtp:
|
|||
|
auth: true
|
|||
|
starttls:
|
|||
|
enable: true
|
|||
|
required: true
|
|||
|
socketFactory:
|
|||
|
port: 465
|
|||
|
class: javax.net.ssl.SSLSocketFactory
|
|||
|
fallback: false
|
|||
|
datasource:
|
|||
|
driverClassName: com.mysql.cj.jdbc.Driver
|
|||
|
hikari:
|
|||
|
minimum-idle: 5 # 连接池维护的最小空闲连接数
|
|||
|
maximum-pool-size: 10 #配置最大连接池大小
|
|||
|
auto-commit: true #配置从池返回的连接的默认自动提交行为
|
|||
|
idle-timeout: 30000 # 允许连接在连接池中空闲的最长时间,单位ms
|
|||
|
pool-name: HikariPool
|
|||
|
max-lifetime: 1800000 # 池中连接关闭后的最长生命周期,单位ms
|
|||
|
connection-timeout: 30000 # 等待连接的超时时间,单位ms
|
|||
|
mybatis:
|
|||
|
mapper-locations: classpath:mapper/**/*.xml
|
|||
|
type-aliases-package: club.joylink.rtss.entity
|
|||
|
|
|||
|
pagehelper:
|
|||
|
helper-dialect: mysql
|
|||
|
reasonable: true
|
|||
|
support-methods-arguments: true
|
|||
|
params: count=countSql
|
|||
|
#mybatis:
|
|||
|
# config-locations: classpath:mybatis/mybatis-config.xml
|
|||
|
# mapper-locations: classpath:mybatis/mapper/**/*.xml
|
|||
|
|
|||
|
wechat:
|
|||
|
app-id: wx41cb66db5faf330f
|
|||
|
app-secret: eb7199c1e73417be6a4d38b4a848effb
|
|||
|
domain-uri: https://api.weixin.qq.com
|
|||
|
wx-api-url: https://open.weixin.qq.com/connect/oauth2/authorize?appid=${wechat.app-id}&redirect_uri=http://joylink.club/wx/%s&response_type=code&scope=snsapi_base&state=%s#wechat_redirect
|
|||
|
sp-app-id: wxe9150dbbcbf9440b
|
|||
|
sp-app-secret: 4b5d453e5ec246a3f1b72360c59e4fab
|
|||
|
wm-base-url: https://joylink.club/oss/joylink/%s?state=%s
|
|||
|
wx-module-url: http://localhost:9001
|
|||
|
mini:
|
|||
|
access-token-task-on: false
|
|||
|
app-id: wxe9150dbbcbf9440b
|
|||
|
app-secret: 4b5d453e5ec246a3f1b72360c59e4fab
|
|||
|
|
|||
|
tencent-cloud:
|
|||
|
app-id: 1400093601
|
|||
|
app-key: 4a724df65b2bb7e4dc9b4302693f2485
|
|||
|
domain-uri: https://yun.tim.qq.com/v5/tlssmssvr
|
|||
|
allow-send: true
|
|||
|
|
|||
|
common:
|
|||
|
env: dev
|
|||
|
|
|||
|
#修改swgger接口前缀,默认为/v2/api-docs
|
|||
|
springfox:
|
|||
|
documentation:
|
|||
|
swagger:
|
|||
|
v2:
|
|||
|
path: /swagger/api-docs
|
|||
|
|
|||
|
---
|
|||
|
spring:
|
|||
|
profiles: dev
|
|||
|
datasource:
|
|||
|
url: jdbc:mysql://localhost:3306/joylink?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
|||
|
username: root
|
|||
|
password: root
|
|||
|
|
|||
|
tencent-cloud:
|
|||
|
allow-send: false
|
|||
|
|
|||
|
logging:
|
|||
|
file:
|
|||
|
path: /logs/joylink/rtss
|
|||
|
pattern:
|
|||
|
level:
|
|||
|
club.joylink.rtss: DEBUG
|
|||
|
|
|||
|
common:
|
|||
|
env: dev
|
|||
|
license-secret-key: joylink
|
|||
|
|
|||
|
---
|
|||
|
spring:
|
|||
|
profiles: test
|
|||
|
datasource:
|
|||
|
url: jdbc:mysql://172.16.0.128:3306/joylink?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
|||
|
username: root
|
|||
|
password: Joylink@0503
|
|||
|
|
|||
|
wechat:
|
|||
|
wx-api-url: https://open.weixin.qq.com/connect/oauth2/authorize?appid=${wechat.app-id}&redirect_uri=https://test.joylink.club/wx/%s&response_type=code&scope=snsapi_base&state=%s#wechat_redirect
|
|||
|
wx-module-url: https://joylink.club/jlwxs
|
|||
|
tencent-cloud:
|
|||
|
allow-send: false
|
|||
|
|
|||
|
logging:
|
|||
|
file:
|
|||
|
path: /usr/local/joylink/logs/rtss
|
|||
|
pattern:
|
|||
|
level:
|
|||
|
club.joylink.rtss: INFO
|
|||
|
|
|||
|
common:
|
|||
|
env: test
|
|||
|
|
|||
|
---
|
|||
|
spring:
|
|||
|
profiles: prd
|
|||
|
datasource:
|
|||
|
url: jdbc:mysql://172.21.0.15:3306/joylink?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
|||
|
username: root
|
|||
|
password: joylink@0503
|
|||
|
wechat:
|
|||
|
app-id: wx41cb66db5faf330f
|
|||
|
app-secret: eb7199c1e73417be6a4d38b4a848effb
|
|||
|
wx-api-url: https://open.weixin.qq.com/connect/oauth2/authorize?appid=${wechat.app-id}&redirect_uri=https://joylink.club/wx/%s&response_type=code&scope=snsapi_base&state=%s#wechat_redirect
|
|||
|
wx-module-url: http://172.21.0.4:9001
|
|||
|
mini:
|
|||
|
access-token-task-on: true
|
|||
|
|
|||
|
file:
|
|||
|
path: https://joylink.club/jlfile/api/upload/joylink/avatar
|
|||
|
|
|||
|
logging:
|
|||
|
file:
|
|||
|
path: /usr/local/joylink/logs/rtss
|
|||
|
pattern:
|
|||
|
level:
|
|||
|
club.joylink.rtss: INFO
|
|||
|
|
|||
|
common:
|
|||
|
env: prd
|
|||
|
|
|||
|
---
|
|||
|
spring:
|
|||
|
profiles: local
|
|||
|
datasource:
|
|||
|
url: jdbc:mysql://160.20.60.16:3306/joylink?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
|||
|
username: root
|
|||
|
password: localhebroot
|
|||
|
|
|||
|
tencent-cloud:
|
|||
|
allow-send: false
|
|||
|
|
|||
|
logging:
|
|||
|
file:
|
|||
|
path: /usr/local/joylink/logs/rtss
|
|||
|
pattern:
|
|||
|
level:
|
|||
|
club.joylink.rtss: INFO
|
|||
|
|
|||
|
common:
|
|||
|
env: local
|
|||
|
license-secret-key: joylink
|