|
|
|
|
# DataSource Config
|
|
|
|
|
spring:
|
|
|
|
|
datasource:
|
|
|
|
|
url: jdbc:mysql://localhost:3306/algorithms?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
|
|
username: root
|
|
|
|
|
password: jichuang@123
|
|
|
|
|
driverClassName: com.mysql.cj.jdbc.Driver
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 日志配置
|
|
|
|
|
logging:
|
|
|
|
|
level:
|
|
|
|
|
com.yingji: debug
|
|
|
|
|
org.springframework: warn
|
|
|
|
|
|
|
|
|
|
# MyBatis配置
|
|
|
|
|
mybatis-plus:
|
|
|
|
|
# 指定实体类所在包的路径,MyBatis-Plus 会自动扫描该路径下的实体类
|
|
|
|
|
typeAliasesPackage: com.yingji.entity
|
|
|
|
|
# 指定 Mapper 接口所在包的路径,MyBatis-Plus 会自动扫描该路径下的 Mapper 接口
|
|
|
|
|
mapperLocations: classpath*:mapper/yingji/*Mapper.xml
|
|
|
|
|
|
|
|
|
|
knife4j:
|
|
|
|
|
enable: true
|
|
|
|
|
# openapi:
|
|
|
|
|
# group:
|
|
|
|
|
# test1:
|
|
|
|
|
# group-name: 应急算法
|
|
|
|
|
|
|
|
|
|
# 119获取token
|
|
|
|
|
getToken: http://2.46.4.198:8008/token
|
|
|
|
|
|
|
|
|
|
# 119获取数据
|
|
|
|
|
specificWarn: http://2.46.4.198:8008/rs/8uu6d/DataAnalysisService/st/data/fire_alarm
|
|
|
|
|
|
|
|
|
|
# 119clientId
|
|
|
|
|
clientId: BFShT3/WwPhZJQdL8e4FdnQ11h0QOeKqBdn+xesCSJGlDHKPk5fxnmnLk1onkm3YzdfjE0gLGEZ7H7vfLs21sGM=
|
|
|
|
|
|
|
|
|
|
# 119clientSecret
|
|
|
|
|
clientSecret: GtbgRfNImXjmBqW0npxUiGi/s0mb5ZdvXANqUCgmIm4=
|