99 lines
2.3 KiB
YAML
99 lines
2.3 KiB
YAML
server:
|
||
port: 7010
|
||
|
||
spring:
|
||
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
|
||
url: jdbc:mysql://121.40.106.103:3306/inventory_db?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false
|
||
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
|
||
|
||
|
||
#文件上传的配置
|
||
onstants:
|
||
#上传文件存放地址
|
||
file_location: /mnt/rzyc/resource/inventory/uploadFile/
|
||
#上传文件公共地址
|
||
file_header: /resource/inventory/uploadFile/
|
||
#上传文件基础路径
|
||
service_file_header: http://42.193.40.239/
|
||
#父级地区id
|
||
superior_org_code: 512000
|
||
#动态详情基础地址
|
||
html_header: http://42.193.40.239:7010/
|
||
#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
|
||
#公示牌
|
||
gsp_path: /mnt/rzyc/resource/inventory/gsp.xlsx
|
||
#zip下载地址
|
||
zip_path: /mnt/rzyc/resource/inventory/zip
|
||
#导出word模板路径
|
||
word_tmp: /mnt/rzyc/resource/inventory/wordtmp
|
||
#工作要务任务类型id
|
||
work_priorities:6e631a1a-b6d1-11eb-9d3c-00163e0c1c63
|
||
|
||
|
||
#加密
|
||
jasypt:
|
||
encryptor:
|
||
password: rzyc2022
|