2023-05-10 15:27:46 +08:00
|
|
|
|
# 环境选择
|
2023-03-29 10:08:50 +08:00
|
|
|
|
spring.profiles.active=zjsj-gsx
|
2023-02-16 15:28:15 +08:00
|
|
|
|
#spring.profiles.active=dev6024
|
|
|
|
|
|
#spring.profiles.active=dev6025
|
|
|
|
|
|
#spring.profiles.active=hncs
|
|
|
|
|
|
#spring.profiles.active=zhhz
|
|
|
|
|
|
#spring.profiles.active=zjsj
|
|
|
|
|
|
#spring.profiles.active=zjsj_dev
|
|
|
|
|
|
#spring.profiles.active=lgdccompany
|
|
|
|
|
|
#spring.profiles.active=lgdcproject
|
|
|
|
|
|
#spring.profiles.active=nc
|
|
|
|
|
|
#spring.profiles.active=testdb
|
|
|
|
|
|
#spring.profiles.active=test
|
|
|
|
|
|
#spring.profiles.active=yc
|
|
|
|
|
|
#spring.profiles.active=hq
|
|
|
|
|
|
#spring.profiles.active=zjyjdj
|
|
|
|
|
|
#spring.profiles.active=zjyjxx
|
|
|
|
|
|
#spring.profiles.active=gzms
|
|
|
|
|
|
#spring.profiles.active=gxlt
|
|
|
|
|
|
#spring.profiles.active=hz
|
|
|
|
|
|
#spring.profiles.active=zjyj
|
|
|
|
|
|
#spring.profiles.active=hqhf
|
|
|
|
|
|
#spring.profiles.active=prod
|
2023-05-10 15:27:46 +08:00
|
|
|
|
# 国际化配置
|
2023-02-16 15:28:15 +08:00
|
|
|
|
spring.messages.basename=i18n/messages
|
|
|
|
|
|
spring.messages.encoding=utf-8
|
2023-05-10 15:27:46 +08:00
|
|
|
|
# 后发现的bean会覆盖之前相同名称的bean
|
2023-02-16 15:28:15 +08:00
|
|
|
|
spring.main.allow-bean-definition-overriding=true
|
2023-05-10 15:27:46 +08:00
|
|
|
|
# 数据库驱动类
|
|
|
|
|
|
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
|
2023-02-16 15:28:15 +08:00
|
|
|
|
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
|
2023-05-10 15:27:46 +08:00
|
|
|
|
spring.datasource.hikari.pool-name=datebookhikaricp
|
2023-02-16 15:28:15 +08:00
|
|
|
|
spring.datasource.hikari.max-lifetime=1800000
|
|
|
|
|
|
spring.datasource.hikari.validation-timeout=3000
|
|
|
|
|
|
#(wait_timeout-30)*1000
|
|
|
|
|
|
spring.datasource.hikari.connection-timeout=50000
|
2023-05-10 15:27:46 +08:00
|
|
|
|
spring.datasource.hikari.connection-test-query=select 1
|
|
|
|
|
|
# 数据库加密签名
|
|
|
|
|
|
jasypt.encryptor.password=jxjzhgdpt
|
|
|
|
|
|
# 如果查询结果中包含空值的列,则 mybatis 在映射的时候,会不会映射这个字段
|
2023-02-16 15:28:15 +08:00
|
|
|
|
mybatis-plus.configuration.call-setters-on-nulls=true
|
2023-05-10 15:27:46 +08:00
|
|
|
|
# 序列化配置
|
|
|
|
|
|
spring.jackson.defaultpropertyinclusion=always
|
|
|
|
|
|
# mybatis 配置
|
2023-02-16 15:28:15 +08:00
|
|
|
|
mybatis-plus.mapper-locations=classpath*:com/zhgd/xmgl/**/*.xml,classpath*:com/zhwl/zw/**/*.xml
|
2023-05-10 15:27:46 +08:00
|
|
|
|
mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.stdoutimpl
|
2023-05-10 14:08:46 +08:00
|
|
|
|
# 全局逻辑删除的实体字段名(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
|
2023-05-10 15:27:46 +08:00
|
|
|
|
# mvc 视图对象配置
|
2023-02-16 15:28:15 +08:00
|
|
|
|
spring.mvc.view.prefix=/
|
|
|
|
|
|
spring.mvc.view.suffix=.html
|
|
|
|
|
|
spring.mvc.dispatch-options-request=true
|
2023-05-10 15:27:46 +08:00
|
|
|
|
# jwt签名
|
2023-02-16 15:28:15 +08:00
|
|
|
|
security.jwt.token.secret-key=zhgd
|
2023-05-10 15:27:46 +08:00
|
|
|
|
# 文件上传配置
|
2023-02-16 15:28:15 +08:00
|
|
|
|
spring.servlet.multipart.enabled=true
|
|
|
|
|
|
spring.servlet.multipart.file-size-threshold=0
|
2023-05-10 15:27:46 +08:00
|
|
|
|
spring.servlet.multipart.max-file-size=1024mb
|
|
|
|
|
|
spring.servlet.multipart.max-request-size=1024mb
|
2023-02-16 15:28:15 +08:00
|
|
|
|
spring.servlet.multipart.resolve-lazily=false
|
2023-05-10 15:27:46 +08:00
|
|
|
|
# mqtt服务器配置
|
2023-02-16 15:28:15 +08:00
|
|
|
|
mqtt.username=admin
|
|
|
|
|
|
mqtt.password=public
|
|
|
|
|
|
#mqtt.url=tcp://139.159.226.224:1883
|
2023-03-16 20:13:08 +08:00
|
|
|
|
#mqtt.url=ws://139.159.226.224:8083/mqtt
|
|
|
|
|
|
mqtt.url=tcp://182.90.224.147:1883
|
2023-05-10 15:27:46 +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
|
2023-02-16 15:28:15 +08:00
|
|
|
|
#server.http2.enabled=true
|
|
|
|
|
|
server.ssl.key-store=classpath:www.cscec1b1.com.jks
|
2023-05-10 15:27:46 +08:00
|
|
|
|
server.ssl.key-store-password=un8&yp!o^nyd*gm#
|
|
|
|
|
|
server.ssl.key-store-type=jks
|
2023-02-16 15:28:15 +08:00
|
|
|
|
server.ssl.enabled=true
|
|
|
|
|
|
image.visit.url=
|
2023-05-10 15:27:46 +08:00
|
|
|
|
# 华为云配置
|
2023-02-16 15:28:15 +08:00
|
|
|
|
hw-ocr-username=szjxjzh
|
|
|
|
|
|
hw-ocr-password=jxj27696951
|
|
|
|
|
|
hw-ocr-domainname=szjxjzh
|
|
|
|
|
|
hw-ocr-projectid=0633b705cc000f3e2f55c010af021eec
|
|
|
|
|
|
hw-ocr-endpoint=cn-east-3
|
2023-04-01 23:10:33 +08:00
|
|
|
|
hw-ocr-enable=false
|
2023-05-10 15:27:46 +08:00
|
|
|
|
# 虹软配置
|
|
|
|
|
|
arcsoft.appid=4f9jmkscyksqskybtxk7sqzlh8dfdt7lk5yjx5xa8gkb
|
|
|
|
|
|
arcsoft.sdkkey=fuphppfpxramfrecmcsig5bjmhswp86qogvdcm7g8b5k
|
|
|
|
|
|
arcsoft.linux.sdkkey=fuphppfpxramfrecmcsig5bjdaskgrsejygzuuvj4f6v
|
|
|
|
|
|
arcsoft.ufacesorce=80
|
|
|
|
|
|
# 授权校验
|
|
|
|
|
|
checkauthenable=false
|
|
|
|
|
|
# 华为云短信服务配置
|
|
|
|
|
|
sms.hw.appkey=jxu82mbx1x4l4rc78ynn1d9q3nei
|
|
|
|
|
|
sms.hw.appsecret=c9wi20z1z5n1yz2t6uh2bjutuaf4
|
2023-02-16 15:28:15 +08:00
|
|
|
|
sms.hw.verify.signchannel=88200413256
|
2023-05-10 15:27:46 +08:00
|
|
|
|
sms.hw.verify.verifycode=f273233ff3224adbbbc85cd53d58fc50
|
2023-02-16 15:28:15 +08:00
|
|
|
|
sms.hw.notice.signchannel=8821051731025
|
2023-05-10 15:27:46 +08:00
|
|
|
|
sms.hw.notice.templateid.standardalarm=790d907f70594b4893227fc1d97e78bc
|
|
|
|
|
|
sms.hw.notice.templateid.standarddevstate=10930770f5954d12881143e548f8483b
|
|
|
|
|
|
sms.hw.notice.templateid.carpass=
|
2023-02-16 15:28:15 +08:00
|
|
|
|
swagger.enable=true
|
2023-05-10 15:27:46 +08:00
|
|
|
|
# redis集群
|
2023-02-16 15:28:15 +08:00
|
|
|
|
#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
|
2023-05-10 15:27:46 +08:00
|
|
|
|
#个推配置
|
|
|
|
|
|
getui.baseurl=https://restapi.getui.com/v2/
|
|
|
|
|
|
# 新配置
|
|
|
|
|
|
getui.appid=vtqrdzrpei8snxkdawstz3
|
|
|
|
|
|
getui.appkey=wlpjaki13r8stuofcjnxm1
|
|
|
|
|
|
getui.appsecret=wy3ffyaxzb9mul94fmrlo1
|
|
|
|
|
|
getui.mastersecret=zz5bmtojue5v3mfhm8gll
|
|
|
|
|
|
#判断考勤回调是否需要图片,1是
|
|
|
|
|
|
# 人员考勤图片类型 1:base64
|
|
|
|
|
|
imagetype=1
|
|
|
|
|
|
# jxj设备图片类型
|
2023-02-16 15:28:15 +08:00
|
|
|
|
jxj.dev.image.type=1
|
2023-05-10 15:27:46 +08:00
|
|
|
|
pdf.watermark=实名制
|
|
|
|
|
|
# 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 单体配置
|
2023-02-16 15:28:15 +08:00
|
|
|
|
spring.redis.database=1
|
|
|
|
|
|
spring.redis.host=127.0.0.1
|
|
|
|
|
|
spring.redis.port=6379
|
2023-05-10 15:27:46 +08:00
|
|
|
|
#spring.redis.password=jxj@admin
|
2023-02-16 15:28:15 +08:00
|
|
|
|
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
|
2023-05-10 15:27:46 +08:00
|
|
|
|
# spring boot admin 所在服务器
|
2023-02-16 15:28:15 +08:00
|
|
|
|
spring.boot.admin.client.url=http://localhost:9091
|
2023-05-10 15:27:46 +08:00
|
|
|
|
# actuator 配置内容
|
2023-02-16 15:28:15 +08:00
|
|
|
|
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
|
2023-05-10 15:27:46 +08:00
|
|
|
|
# 携稳电箱获取最后一条数据
|
|
|
|
|
|
xiwon.postelectricrealtimedata=http://openapi.xiwon588.com/electric/realtimedata
|
|
|
|
|
|
# 携稳密钥
|
|
|
|
|
|
#xiwon.appid=1638947489842
|
|
|
|
|
|
#xiwon.appsecret=36e0a5cf-02e6-421b-bf92-3b1ace11e1a2
|
|
|
|
|
|
# 正式
|
|
|
|
|
|
xiwon.appid=1672383573694
|
|
|
|
|
|
xiwon.appsecret=5dfe1664-51fd-40af-8fbb-a15bbcaae1d1
|
|
|
|
|
|
# 光伏发电客户信息
|
|
|
|
|
|
koyoe.clientid=btxny
|
2023-02-16 15:28:15 +08:00
|
|
|
|
koyoe.secret=akdu5sar7w
|
2023-05-10 15:27:46 +08:00
|
|
|
|
# 光伏发电请求地址
|
2023-02-16 15:28:15 +08:00
|
|
|
|
koyoe.base-url=https://solar.koyoe.com
|
|
|
|
|
|
koyoe.get-token=${koyoe.base-url}/third-party/api/token?grant_type=client_credentials
|
2023-05-10 15:27:46 +08:00
|
|
|
|
koyoe.nowdata=${koyoe.base-url}/third-party/api/nowdata?sn=%s
|
|
|
|
|
|
# 是否证书验证
|
2023-05-10 14:08:46 +08:00
|
|
|
|
is-license=false
|