2023-06-28 19:44:15 +08:00
|
|
|
|
# 环境选择
|
2023-07-19 15:14:12 +08:00
|
|
|
|
spring.profiles.active=dev
|
2023-06-28 19:44:15 +08:00
|
|
|
|
# 国际化配置
|
|
|
|
|
|
spring.messages.basename=i18n/messages
|
|
|
|
|
|
spring.messages.encoding=utf-8
|
|
|
|
|
|
# 后发现的bean会覆盖之前相同名称的bean
|
|
|
|
|
|
spring.main.allow-bean-definition-overriding=true
|
|
|
|
|
|
# 数据库驱动类
|
|
|
|
|
|
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
|
|
|
|
|
|
#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
|
|
|
|
|
# 数据库连接池配置
|
|
|
|
|
|
spring.datasource.type=com.zaxxer.hikari.HikariDataSource
|
|
|
|
|
|
spring.datasource.hikari.minimum-idle=20
|
|
|
|
|
|
spring.datasource.hikari.maximum-pool-size=500
|
|
|
|
|
|
spring.datasource.hikari.auto-commit=true
|
|
|
|
|
|
spring.datasource.hikari.idle-timeout=40000
|
|
|
|
|
|
spring.datasource.hikari.pool-name=DatebookHikariCP
|
|
|
|
|
|
spring.datasource.hikari.max-lifetime=1800000
|
|
|
|
|
|
spring.datasource.hikari.validation-timeout=3000
|
|
|
|
|
|
#(wait_timeout-30)*1000
|
|
|
|
|
|
spring.datasource.hikari.connection-timeout=50000
|
|
|
|
|
|
spring.datasource.hikari.connection-test-query=SELECT 1
|
|
|
|
|
|
# 数据库加密签名
|
|
|
|
|
|
jasypt.encryptor.password=JXJZHGDPT
|
2023-07-14 15:30:04 +08:00
|
|
|
|
jasypt.encryptor.algorithm=PBEWithMD5AndDES
|
|
|
|
|
|
jasypt.encryptor.iv-generator-classname=org.jasypt.iv.NoIvGenerator
|
2023-06-28 19:44:15 +08:00
|
|
|
|
# 如果查询结果中包含空值的列,则 mybatis 在映射的时候,会不会映射这个字段
|
|
|
|
|
|
mybatis-plus.configuration.call-setters-on-nulls=true
|
|
|
|
|
|
# 序列化配置
|
|
|
|
|
|
spring.jackson.defaultPropertyInclusion=ALWAYS
|
|
|
|
|
|
# mybatis 配置
|
|
|
|
|
|
mybatis-plus.mapper-locations=classpath*:com/zhgd/xmgl/**/*.xml,classpath*:com/zhwl/zw/**/*.xml
|
|
|
|
|
|
mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
|
|
# 全局逻辑删除的实体字段名(since 3.3.0,配置后可以忽略不配置步骤2)
|
|
|
|
|
|
#mybatis-plus.global-config.db-config.logic-delete-field=flag
|
|
|
|
|
|
mybatis-plus.global-config.db-config.logic-delete-value=1
|
|
|
|
|
|
mybatis-plus.global-config.db-config.logic-not-delete-value=0
|
|
|
|
|
|
# mvc 视图对象配置
|
|
|
|
|
|
spring.mvc.view.prefix=/
|
|
|
|
|
|
spring.mvc.view.suffix=.html
|
|
|
|
|
|
spring.mvc.dispatch-options-request=true
|
|
|
|
|
|
# jwt签名
|
|
|
|
|
|
security.jwt.token.secret-key=zhgd
|
|
|
|
|
|
# 文件上传配置
|
|
|
|
|
|
spring.servlet.multipart.enabled=true
|
|
|
|
|
|
spring.servlet.multipart.file-size-threshold=0
|
|
|
|
|
|
spring.servlet.multipart.max-file-size=1024MB
|
|
|
|
|
|
spring.servlet.multipart.max-request-size=1024MB
|
|
|
|
|
|
spring.servlet.multipart.resolve-lazily=false
|
2023-10-23 17:51:08 +08:00
|
|
|
|
#POST上传参数限制
|
|
|
|
|
|
server.tomcat.max-http-post-size=100MB
|
2023-06-28 19:44:15 +08:00
|
|
|
|
# mqtt服务器配置
|
|
|
|
|
|
mqtt.username=admin
|
|
|
|
|
|
mqtt.password=public
|
|
|
|
|
|
#mqtt.url=tcp://139.159.226.224:1883
|
|
|
|
|
|
#mqtt.url=ws://139.159.226.224:8083/mqtt
|
2023-10-16 15:07:51 +08:00
|
|
|
|
mqtt.url=tcp://jxj.zhgdyun.com:1883
|
2023-06-28 19:44:15 +08:00
|
|
|
|
# 消费者和提供者对应的客户端id以及默认topic
|
|
|
|
|
|
mqtt.producer.clientId=mqttProd
|
|
|
|
|
|
mqtt.producer.defaultTopic=topic1
|
|
|
|
|
|
mqtt.consumer.clientId=mqttConsumer
|
|
|
|
|
|
mqtt.consumer.defaultTopic=topic1
|
|
|
|
|
|
#mqtt.consumer.defaultTopic=/P114101/202203010084
|
|
|
|
|
|
#server.http2.enabled=true
|
|
|
|
|
|
server.ssl.key-store=classpath:www.cscec1b1.com.jks
|
|
|
|
|
|
server.ssl.key-store-password=Un8&yP!o^Nyd*gm#
|
|
|
|
|
|
server.ssl.key-store-type=JKS
|
|
|
|
|
|
server.ssl.enabled=true
|
|
|
|
|
|
image.visit.url=
|
|
|
|
|
|
# 华为云配置
|
|
|
|
|
|
hw-ocr-username=szjxjzh
|
|
|
|
|
|
hw-ocr-password=jxj27696951
|
|
|
|
|
|
hw-ocr-domainname=szjxjzh
|
|
|
|
|
|
hw-ocr-projectid=0633b705cc000f3e2f55c010af021eec
|
|
|
|
|
|
hw-ocr-endpoint=cn-east-3
|
|
|
|
|
|
hw-ocr-enable=false
|
|
|
|
|
|
# 虹软配置
|
|
|
|
|
|
arcsoft.appId=4F9jmKsCYKsQskYBTXK7sQZLH8dFdT7LK5Yjx5XA8gkB
|
|
|
|
|
|
arcsoft.sdkKey=FUPhPPfPXrAmFrecmCSiG5BjmHSwp86QogvdCM7g8B5k
|
|
|
|
|
|
arcsoft.linux.sdkKey=FUPhPPfPXrAmFrecmCSiG5BjdAskGRSejyGzUuVj4F6V
|
|
|
|
|
|
arcsoft.ufaceSorce=80
|
|
|
|
|
|
# 授权校验
|
|
|
|
|
|
checkAuthEnable=false
|
|
|
|
|
|
# 华为云短信服务配置
|
|
|
|
|
|
sms.hw.appKey=JxU82mBx1x4l4RC78ynN1D9Q3neI
|
|
|
|
|
|
sms.hw.appSecret=c9wi20z1z5N1YZ2T6UH2BJuTUAF4
|
|
|
|
|
|
sms.hw.verify.signchannel=88200413256
|
|
|
|
|
|
sms.hw.verify.verifyCode=f273233ff3224adbbbc85cd53d58fc50
|
|
|
|
|
|
sms.hw.notice.signchannel=8821051731025
|
|
|
|
|
|
sms.hw.notice.templateId.standardAlarm=790d907f70594b4893227fc1d97e78bc
|
|
|
|
|
|
sms.hw.notice.templateId.standardDevState=10930770f5954d12881143e548f8483b
|
|
|
|
|
|
sms.hw.notice.templateId.carPass=
|
|
|
|
|
|
swagger.enable=true
|
|
|
|
|
|
# redis集群
|
|
|
|
|
|
#spring.redis.database=0
|
|
|
|
|
|
#spring.redis.cluster.nodes=127.0.0.1:6379,192.168.40.156:6380
|
|
|
|
|
|
#spring.redis.cluster.max-redirects=3
|
|
|
|
|
|
#spring.redis.timeout=6000ms
|
|
|
|
|
|
#spring.redis.lettuce.pool.max-active=1000
|
|
|
|
|
|
#spring.redis.lettuce.pool.max-wait=60s
|
|
|
|
|
|
#spring.redis.lettuce.pool.max-idle=10
|
|
|
|
|
|
#spring.redis.lettuce.pool.min-idle=5
|
|
|
|
|
|
#\u4E2A\u63A8\u914D\u7F6E
|
|
|
|
|
|
getui.baseUrl=https://restapi.getui.com/v2/
|
|
|
|
|
|
# 新配置
|
|
|
|
|
|
getui.appId=vTqRdzRpeI8SnXKDawStZ3
|
|
|
|
|
|
getui.appKey=wlPjAki13R8STuofcjnXM1
|
|
|
|
|
|
getui.appSecret=Wy3FFyaXzb9MUl94FMrLo1
|
|
|
|
|
|
getui.masterSecret=zZ5bMTOjUe5v3MFhm8gLL
|
2023-07-19 15:14:12 +08:00
|
|
|
|
#判断考勤回调是否需要图片,1是
|
2023-06-28 19:44:15 +08:00
|
|
|
|
# 人员考勤图片类型 1:base64
|
|
|
|
|
|
imageType=1
|
|
|
|
|
|
# jxj设备图片类型
|
|
|
|
|
|
jxj.dev.image.type=1
|
|
|
|
|
|
pdf.watermark=\u5B9E\u540D\u5236
|
|
|
|
|
|
# bimface请求url
|
|
|
|
|
|
bim.getTokenURL=https://api.bimface.com/oauth2/token
|
|
|
|
|
|
bim.deleteFileURL=https://file.bimface.com/file?fileId=%s
|
|
|
|
|
|
bim.uploadURL=https://file.bimface.com/upload?name=%s&url=%s
|
|
|
|
|
|
# redis 单体配置
|
|
|
|
|
|
spring.redis.database=1
|
|
|
|
|
|
spring.redis.host=127.0.0.1
|
|
|
|
|
|
spring.redis.port=6379
|
|
|
|
|
|
#spring.redis.password=JXJ@admin
|
|
|
|
|
|
spring.redis.password=
|
|
|
|
|
|
spring.redis.timeout=2000s
|
|
|
|
|
|
spring.redis.lettuce.pool.max-active=8
|
|
|
|
|
|
spring.redis.lettuce.pool.max-wait=60s
|
|
|
|
|
|
spring.redis.lettuce.pool.max-idle=10
|
|
|
|
|
|
spring.redis.lettuce.pool.min-idle=10
|
|
|
|
|
|
# spring boot admin 所在服务器
|
|
|
|
|
|
spring.boot.admin.client.url=http://localhost:9091
|
|
|
|
|
|
# actuator 配置内容
|
|
|
|
|
|
management.endpoints.web.exposure.include=*
|
|
|
|
|
|
management.endpoints.enabled-by-default=true
|
|
|
|
|
|
management.endpoints.web.base-path=/actuator
|
|
|
|
|
|
management.endpoint.health.show-details=always
|
|
|
|
|
|
management.endpoint.logfile.external-file=logs/logs/zhgd-all.log
|
|
|
|
|
|
# 光伏发电客户信息
|
|
|
|
|
|
koyoe.clientId=btxny
|
|
|
|
|
|
koyoe.secret=akdu5sar7w
|
|
|
|
|
|
# 光伏发电请求地址
|
|
|
|
|
|
koyoe.base-url=https://solar.koyoe.com
|
|
|
|
|
|
koyoe.get-token=${koyoe.base-url}/third-party/api/token?grant_type=client_credentials
|
|
|
|
|
|
koyoe.nowData=${koyoe.base-url}/third-party/api/nowData?sn=%s
|
|
|
|
|
|
# 是否证书验证
|
|
|
|
|
|
is-license=false
|
2023-12-11 14:24:38 +08:00
|
|
|
|
#天气url
|
2023-12-16 11:32:44 +08:00
|
|
|
|
tianqiUrl=http://v1.yiketianqi.com
|
|
|
|
|
|
#天气appid
|
|
|
|
|
|
tianqiAppid=41289558
|
|
|
|
|
|
#天气appsecret
|
|
|
|
|
|
tianqiAppsecret=45CS7niV
|
2023-12-14 10:39:21 +08:00
|
|
|
|
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
|
|
|
|
|
|
spring.jackson.time-zone=GMT+8
|