wisdomisite-java/src/main/resources/application.properties
2025-01-15 19:19:53 +08:00

220 lines
8.4 KiB
Properties
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 环境选择
spring.profiles.active=gsx-t-dev
# 国际化配置
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.db1.type=com.zaxxer.hikari.HikariDataSource
spring.datasource.db1.minimum-idle=20
spring.datasource.db1.maximum-pool-size=500
spring.datasource.db1.auto-commit=true
spring.datasource.db1.idle-timeout=40000
spring.datasource.db1.pool-name=DatebookHikariCP1
spring.datasource.db1.max-lifetime=1800000
spring.datasource.db1.validation-timeout=3000
#(wait_timeout-30)*1000
spring.datasource.db1.connection-timeout=50000
spring.datasource.db1.connection-test-query=SELECT 1
# 数据库连接池配置
spring.datasource.db2.type=com.zaxxer.hikari.HikariDataSource
spring.datasource.db2.minimum-idle=20
spring.datasource.db2.maximum-pool-size=500
spring.datasource.db2.auto-commit=true
spring.datasource.db2.idle-timeout=40000
spring.datasource.db2.pool-name=DatebookHikariCP2
spring.datasource.db2.max-lifetime=1800000
spring.datasource.db2.validation-timeout=3000
#(wait_timeout-30)*1000
spring.datasource.db2.connection-timeout=50000
spring.datasource.db2.connection-test-query=SELECT 1
# 数据库加密签名
jasypt.encryptor.password=JXJZHGDPT
jasypt.encryptor.algorithm=PBEWithMD5AndDES
jasypt.encryptor.iv-generator-classname=org.jasypt.iv.NoIvGenerator
# 如果查询结果中包含空值的列,则 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=com.zhgd.config.StdOutImplCustom
# 全局逻辑删除的实体字段名(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
#POST上传参数限制
server.tomcat.max-http-post-size=100MB
# mqtt服务器配置
mqtt.username=admin
mqtt.password=public
#mqtt.url=tcp://139.159.226.224:1883
#mqtt.url=ws://139.159.226.224:8083/mqtt
mqtt.url=tcp://jxj.zhgdyun.com:1883
# 消费者和提供者对应的客户端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=zP7A1fWyO98KaCHw8OunB9
getui.appKey=hIeY0ufKl87kxVW3Tytch4
getui.appSecret=A2QqlgTGQY9uOIMeBeaOe3
getui.masterSecret=fnwjipGoAx8bXP2jPSHGc2
#判断考勤回调是否需要图片,1是
# 人员考勤图片类型 1base64
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
#分布式锁
redisson.codec=org.redisson.codec.JsonJacksonCodec
redisson.threads=4
redisson.netty.threads=4
redisson.single-server-config.address=redis://${spring.redis.host}:${spring.redis.port}
#redisson.single-server-config.password=${spring.redis.password}
#redisson.single-server-config.database=0
# 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
#天气url
tianqiUrl=http://v1.yiketianqi.com
#天气appid
tianqiAppid=98454448
#天气appsecret
tianqiAppsecret=ZIycjw4u
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
spring.jackson.time-zone=GMT+8
#邮箱配置
#平台地址这里用的是qq邮箱使用其他邮箱请更换
spring.mail.host=smtp.qq.com
#端口号
spring.mail.port=465
#发送邮件的邮箱地址:改成自己的邮箱
spring.mail.username=1923636941@qq.com
#发送短信后它给你的授权码 填写到这里
spring.mail.password=qssvvjzacogsdica
#与发件邮箱一致
spring.mail.from=1923636941@qq.com
spring.mail.default-encoding=utf-8
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true
spring.mail.properties.mail.smtp.starttls.required=true
# SSL 配置
spring.mail.protocol=smtp
spring.mail.properties.mail.smtp.ssl.enable=true
spring.mail.properties.mail.smtp.socketFactory.port=465
spring.mail.properties.mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
#工作流数据库
spring.datasource.db2.jdbc-url=jdbc:mysql://192.168.34.221:3306/wflow_pro_baotou_prod?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false&serverTimezone=GMT%2B8
spring.datasource.db2.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.db2.username=root
spring.datasource.db2.password=root
#配置web页面入口
#magic-api.web=/xmgl/magic/web
#配置文件存储位置。当以classpath开头时为只读模式
#magic-api.resource.location=classpath:magic
tenant.tables[0]=wflow_cc_tasks
tenant.tables[1]=wflow_departments
tenant.tables[2]=wflow_form_data
tenant.tables[3]=wflow_form_record
tenant.tables[4]=wflow_model_groups
tenant.tables[5]=wflow_model_historys
tenant.tables[6]=wflow_model_perms
tenant.tables[7]=wflow_models
tenant.tables[8]=wflow_notifys
tenant.tables[9]=wflow_sub_groups
tenant.tables[10]=wflow_sub_process
sada.host=http://api.e.v1.i-sada.net
h5.exam.url=http://192.168.34.133:20626/#/pages/personLocation/login/login?examPaperId=