Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
device-demo.yml 1.59 KB
Copy Edit Web IDE Raw Blame History
jess.xiao authored 2021-03-20 14:37 . update device-demo.yml.
logging:
level:
# tk.mybatis: INFO
cn.turing.firecontrol: DEBUG
server:
port: 2222
spring:
application:
name: turing-device
datasource:
url: jdbc:mysql://172.17.0.1:3306/turing_device?useUnicode=true&characterEncoding=UTF8&useSSL=true
druid:
stat-view-servlet:
loginUsername: root
loginPassword: 123456
#配置数据库
mybatis:
basepackage: cn.turing.firecontrol.device.mapper
xmlLocation: classpath:mapper/**/*.xml
mapper-locations: "classpath*:mapper/*.xml"
configuration:
cache-enabled: false
map-underscore-to-camel-case: true
# 配置swagger
swagger:
enabled: true
base-package: cn.turing.firecontrol.device
title: 消防大数据
version: 1.0.0.SNAPSHOT
description: 设备管理服务
contact:
name: 武汉中科图灵科技有限公司
# global-operation-parameters[0]:
# name: Authorization
# description: access_token
# modelRef: string
# parameterType: header
# required: true
# 配置用户认证和服务认证信息
auth:
serviceId: turing-auth
user:
token-header: Authorization
limit-expire: 1440 # 一天过去,单位分钟
client:
id: turing-device
secret: 123456
token-header: client-token
mapper:
mappers: cn.turing.firecontrol.common.mapper.CommonMapper
# 配置萤石开放平台账号
yingShi:
appKey:
appSecret:
# 小花儿人工智能图像识别接口
xiaoHuaErAI:
appCode:
accuracyThreshold: 0.8 #accuracy>0.8 表示有很大可能发生火灾

Comment ( 0 )

Sign in for post a comment