2022-09-16 15:07:17 +08:00
|
|
|
server:
|
|
|
|
|
port: 7011
|
|
|
|
|
spring:
|
2022-10-17 17:40:17 +08:00
|
|
|
redis:
|
|
|
|
|
host: 42.193.40.239
|
|
|
|
|
Auth: redis@rzyc123456
|
|
|
|
|
# 进入哨兵项目-这个端口就不用了,除非是单体
|
|
|
|
|
# port: 6379
|
|
|
|
|
sentinel:
|
|
|
|
|
master: mymaster
|
|
|
|
|
nodes: 42.193.40.239:26379,42.193.40.239:26380,42.193.40.239:26381
|
|
|
|
|
lettuce:
|
|
|
|
|
pool:
|
|
|
|
|
max-active: 8
|
|
|
|
|
max-idle: 8
|
|
|
|
|
min-idle: 0
|
|
|
|
|
max-wait: 100
|
|
|
|
|
shutdown-timeout: 50000
|
2022-09-16 15:07:17 +08:00
|
|
|
servlet:
|
|
|
|
|
multipart:
|
|
|
|
|
enabled: true
|
|
|
|
|
max-file-size: 50MB
|
|
|
|
|
max-request-size: 100MB
|
|
|
|
|
mvc:
|
|
|
|
|
view:
|
|
|
|
|
prefix: classpath:/templates/
|
|
|
|
|
suffix: .html
|
|
|
|
|
devtools:
|
|
|
|
|
restart:
|
|
|
|
|
enabled: true
|
|
|
|
|
thymeleaf:
|
|
|
|
|
cache: false
|
|
|
|
|
resources:
|
|
|
|
|
cache:
|
|
|
|
|
period: 0
|
|
|
|
|
application:
|
|
|
|
|
name: log
|
|
|
|
|
#数据库
|
|
|
|
|
datasource:
|
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
2023-04-11 09:14:51 +08:00
|
|
|
url: jdbc:mysql://121.40.106.103:3306/inventory_copy?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false&
|
2022-09-16 15:07:17 +08:00
|
|
|
username: rzyc
|
|
|
|
|
password: ENC(FDlRK2MAcJBMF7UBHBJPLGzRkpWQ4T6dgYP2bDnTodQ=)
|
|
|
|
|
tomcat:
|
|
|
|
|
max-active: 10
|
|
|
|
|
min-idle: 10
|
|
|
|
|
initial-size: 2
|
|
|
|
|
hikari:
|
|
|
|
|
minimum-idle: 3
|
|
|
|
|
maximum-pool-size: 10
|
|
|
|
|
max-lifetime: 30000
|
|
|
|
|
connection-test-query: SELECT 1
|
|
|
|
|
jackson:
|
|
|
|
|
#设置json转时间时区为东八区
|
|
|
|
|
time-zone: GMT+8
|
|
|
|
|
|
|
|
|
|
#mybatis 配置文件
|
|
|
|
|
mybatis:
|
|
|
|
|
type-aliases-package: com.rzyc.model
|
|
|
|
|
mapper-locations: mapper/**/*.xml
|
|
|
|
|
config-location: classpath:mybatis-config.xml
|
|
|
|
|
|
|
|
|
|
#打印sql
|
|
|
|
|
logging:
|
|
|
|
|
level:
|
|
|
|
|
com.rzyc.mapper: debug
|
|
|
|
|
|
|
|
|
|
|
2022-09-26 09:22:06 +08:00
|
|
|
#自定义配置
|
2022-09-16 15:07:17 +08:00
|
|
|
onstants:
|
|
|
|
|
#上传文件存放地址
|
2022-09-26 09:22:06 +08:00
|
|
|
file_location: /home/rzyc/resource/inventory/uploadFile/
|
2022-09-16 15:07:17 +08:00
|
|
|
#上传文件公共地址
|
|
|
|
|
file_header: /resource/inventory/uploadFile/
|
|
|
|
|
#上传文件基础路径
|
2022-09-26 09:22:06 +08:00
|
|
|
service_file_header: http://192.168.31.253/
|
2022-09-16 15:07:17 +08:00
|
|
|
#父级地区id
|
2023-03-20 09:25:09 +08:00
|
|
|
superior_org_code: 513300
|
2022-09-16 15:07:17 +08:00
|
|
|
#动态详情基础地址
|
2022-09-26 09:22:06 +08:00
|
|
|
html_header: http://192.168.31.253:7010/
|
2022-09-16 15:07:17 +08:00
|
|
|
#logourl
|
|
|
|
|
logo_url: http://42.193.40.239/resource/inventory/citysafe_logo.png
|
|
|
|
|
#政府端帮助文档url
|
|
|
|
|
help_url: http://42.193.40.239:7010/appGovHelp
|
|
|
|
|
#企业端帮助文档url
|
|
|
|
|
ent_help_url: http://42.193.40.239:7010/appGovHelp
|
|
|
|
|
#行业部门id
|
|
|
|
|
unit_id: 5bd164aa-dd43-45e3-a5a2-649bb2fd9fb9
|
|
|
|
|
#镇街功能区
|
|
|
|
|
area_unit_id: 920184e5-0cd8-4ef5-bdc7-d992ac4f1c17
|
|
|
|
|
#验证码key
|
|
|
|
|
generate_code_key: GENERATE_CODE_KEY
|
|
|
|
|
#企业账号默认密码
|
|
|
|
|
default_passwd: csaq512000
|
|
|
|
|
#公示牌
|
2022-09-26 09:22:06 +08:00
|
|
|
gsp_path: /home/rzyc/resource/inventory/gsp.xlsx
|
2022-09-16 15:07:17 +08:00
|
|
|
#zip下载地址
|
2022-09-26 09:22:06 +08:00
|
|
|
zip_path: /home/rzyc/resource/inventory/zip
|
2022-09-16 15:07:17 +08:00
|
|
|
#导出word模板路径
|
2022-09-26 09:22:06 +08:00
|
|
|
word_tmp: /home/rzyc/resource/inventory/wordtmp
|
2022-09-16 15:07:17 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#加密
|
|
|
|
|
jasypt:
|
|
|
|
|
encryptor:
|
|
|
|
|
password: rzyc2022
|