代码拉取完成,页面将自动刷新
同步操作将从 dragont/fireconfig 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
logging:
level:
# tk.mybatis: INFO
cn.turing.firecontrol: DEBUG
server:
port: 2222
spring:
application:
name: turing-device
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
default-property-inclusion: non_null
# boot:
# admin:
# url: http://192.168.0.22:8766
# client:
# prefer-ip: true
redis:
host: 127.0.0.1
port: 6379
password:
database: 0
rabbitmq:
host: 127.0.0.1
port: 5672
username: guest
password: guest
virtual-host: /
elasticsearch:
cluster-name: my-application
cluster-nodes: 127.0.0.1:9601,127.0.0.1:9602,127.0.0.1:9603
rest:
username: esuser
password: Itat@pros
uris:
- http://127.0.0.1:9200
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/turing-device?characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
username: root
password: root
druid:
stat-view-servlet:
loginUsername: root
loginPassword: root
#配置数据库
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 表示有很大可能发生火灾
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。