Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
datahandler-demo.yml 1.22 KB
Copy Edit Web IDE Raw Blame History
zhangl authored 2020-09-17 12:00 . 配置模板提交
logging:
level:
cn.turing.firecontrol: DEBUG
server:
port: 2345
spring:
application:
name: turing-datahandler
datasource:
url: jdbc:mysql://host:3306/turing_datahandler?useUnicode=true&characterEncoding=UTF8
# 配置数据库
mybatis:
basepackage: cn.turing.firecontrol.datahandler.mapper
xmlLocation: classpath:mapper/**/*.xml
mapper-locations: "classpath*:mapper/*.xml"
configuration:
cache-enabled: false
# 配置swagger
swagger:
enabled: true
base-package: cn.turing.firecontrol.datahandler
title: 消防大数据
version: 1.0.0.SNAPSHOT
description: 数据处理管理服务
contact:
name: 武汉中科图灵科技有限公司
global-operation-parameters[0]:
name: Authorization
description: 12
modelRef: string
parameterType: header
required: false
#配置用户认证和服务认证信息
auth:
serviceId: turing-auth
user:
token-header: Authorization
limit-expire: 1440 # 一天过去,单位分钟
client:
id: turing-datahandler
secret: 123456
token-header: client-token
mapper:
mappers: cn.turing.firecontrol.common.mapper.CommonMapper
#自行配置激光推送
jpush:
appKey:
masterSecret:
liveTime: 300000
title: 消防平台

Comment ( 0 )

Sign in for post a comment