wisdomisite-java/src/main/resources/application.properties

220 lines
8.4 KiB
Properties
Raw Normal View History

2023-06-28 19:44:15 +08:00
# 环境选择
2024-09-07 17:41:51 +08:00
spring.profiles.active=gsx-t-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
# 数据库连接池配置
2024-09-14 09:09:22 +08:00
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
2023-06-28 19:44:15 +08:00
#(wait_timeout-30)*1000
2024-09-14 09:09:22 +08:00
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
2023-06-28 19:44:15 +08:00
# 数据库加密签名
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
2024-06-01 14:37:49 +08:00
mybatis-plus.configuration.log-impl=com.zhgd.config.StdOutImplCustom
2023-06-28 19:44:15 +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
# 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
2024-04-18 21:55:23 +08:00
#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
2023-06-28 19:44:15 +08:00
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/
# 新配置
2024-05-06 00:25:07 +08:00
getui.appId=zP7A1fWyO98KaCHw8OunB9
getui.appKey=hIeY0ufKl87kxVW3Tytch4
getui.appSecret=A2QqlgTGQY9uOIMeBeaOe3
getui.masterSecret=fnwjipGoAx8bXP2jPSHGc2
2023-07-19 15:14:12 +08:00
#判断考勤回调是否需要图片,1是
2023-06-28 19:44:15 +08:00
# 人员考勤图片类型 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
2024-05-07 19:45:36 +08:00
#分布式锁密码注释的时候,这个也要注释
#spring.redis.password=
2023-06-28 19:44:15 +08:00
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
2024-05-07 19:45:36 +08:00
#分布式锁
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}
2024-05-12 15:54:38 +08:00
#redisson.single-server-config.password=${spring.redis.password}
2024-05-07 19:45:36 +08:00
#redisson.single-server-config.database=0
2023-06-28 19:44:15 +08:00
# 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
2024-10-25 19:10:24 +08:00
tianqiAppid=98454448
2023-12-16 11:32:44 +08:00
#天气appsecret
2024-10-25 19:10:24 +08:00
tianqiAppsecret=ZIycjw4u
2023-12-14 10:39:21 +08:00
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
spring.jackson.time-zone=GMT+8
2024-03-22 19:18:22 +08:00
#邮箱配置
#平台地址这里用的是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
2024-04-01 15:56:29 +08:00
#工作流数据库
2025-01-15 19:19:53 +08:00
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
2024-04-01 15:56:29 +08:00
spring.datasource.db2.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.db2.username=root
2024-04-18 20:21:10 +08:00
spring.datasource.db2.password=root
2024-04-17 20:52:27 +08:00
#配置web页面入口
2024-04-18 20:21:10 +08:00
#magic-api.web=/xmgl/magic/web
2024-04-17 20:52:27 +08:00
#配置文件存储位置。当以classpath开头时为只读模式
2024-04-18 20:21:10 +08:00
#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
2024-05-18 01:06:42 +08:00
sada.host=http://api.e.v1.i-sada.net
2024-11-01 19:27:16 +08:00
h5.exam.url=http://192.168.34.133:20626/#/pages/personLocation/login/login?examPaperId=