- server:
- port: 33061
- servlet:
- context-path: /kq
-
- spring:
- mvc:
- pathmatch:
- matching-strategy: ant_path_matcher
- session:
- store-type: redis
- redis:
- namespace: "spring:session"
- timeout: 864000
- redis:
- timeout: 5000
- host: 47.98.125.47
- port: 26379
- database: 7
- password: Ndkj1234
- jedis:
- pool:
- max-active: 200
- max-idle: 500
- min-idle: 8
- max-wait: 10000
- application:
- name: kq
- jackson:
- default-property-inclusion: non_null
- time-zone: GMT+8
- date-format: yyyy-MM-dd HH:mm:ss
- jpa:
- properties:
- hibernate:
- default_schema: PUBLIC
- hbm2ddl:
- auto: update
- show_sql: true
- show-sql: true
- hibernate:
- ddl-auto: update
- datasource:
- type: com.zaxxer.hikari.HikariDataSource
- driver-class-name: com.mysql.cj.jdbc.Driver
- url: ENC(gtE4OUrpgtFsh6B3aLiSp2sVSX1BYDET9Uii/wRP2RboRK0NDaYu1S7Vx30cHXFE7vecQzY1UbrSFW/BaWJvQ3XJxfDiaUxdrIDND5e+DMTjx1pUkfS8/RbXHQDE+QoOVZV1UKEtdq+khr32tlQXqkTnzmZGuZjctVmjdQxUnmI2YNpoeNlIAkDXiaCvcVYc)
- username: root
- password: Nd@20231116
-
- # 数据源
- hikari:
- # 是客户端等待连接池连接的最大毫秒数
- connection-timeout: 30000
- # 是允许连接在连接池中空闲的最长时间
- minimum-idle: 5
- # 配置最大池大小
- maximum-pool-size: 300
- # 是允许连接在连接池中空闲的最长时间(以毫秒为单位)
- idle-timeout: 60000
- # 池中连接关闭后的最长生命周期(以毫秒为单位)
- max-lifetime: 600000
- # 配置从池返回的连接的默认自动提交行为。默认值为true。
- auto-commit: true
- # 开启连接监测泄露
- leak-detection-threshold: 500000
- # 测试连接数据库
- connection-test-query: SELECT 1
- #设置上传 单个文件的大小
- servlet:
- multipart:
- max-file-size: 100MB
- max-request-size: 150MB
- mybatis-plus:
- configuration:
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
- global-config:
- db-config:
- logic-delete-value: true
- logic-not-delete-value: false
- logging:
- config: classpath:logback-spring.xml
- #日志配置
- level:
- root: info
- file:
- path: logs
- nd:
- cache:
- type: REDIS
- serializerType: ProtoStuff
- cacheNullVal: true
- def:
- keyPrefix: kq
- log:
- enabled: true
- type: DB
- # 文件存储
- file:
- storage-type: ALI_OSS
- ali:
- protocol: https://
- bucket: devplat
- urlPrefix: oss-cn-hangzhou.aliyuncs.com
- endpoint: oss-cn-hangzhou.aliyuncs.com
- accessKeyId: LTAI4GL7uypycnBjiRn55rMG
- accessKeySecret: qwYC7bW9bkStsko7qkLVnToAzj0Y98
- # 日志文件配置
- log:
- path: ./logs
- info:
- file-size: 50MB
- max-size: 5
- total-size: 200MB
- error:
- file-size: 10MB
- max-size: 5
- total-size: 50MB
-
- swagger:
- enabled: true
-
- hostname: iZut201mqskxt0mwme4tjfZ
-
- jasypt:
- encryptor:
- password: CodeSheep
- algorithm: PBEWithMD5AndDES
- # 指定initialization vector类型
- iv-generator-classname: org.jasypt.iv.NoIvGenerator
- sso:
- access-key: BCDSGA_c2494577610c90bdc33b95514601da2c
- secret-key: BCDSGS_80bf0a606c0d2fd3201bd06a4f008250
- app-id: 2002399646
- token:
- internet-url: https://ibcdsg.zj.gov.cn:8443/restapi/prod/IC33000020220329000007/uc/sso/access_token
- zww-url: https://bcdsg.zj.gov.cn:8443/restapi/prod/IC33000020220329000007/uc/sso/access_token
- user-info:
- internet-url: https://ibcdsg.zj.gov.cn:8443/restapi/prod/IC33000020220329000008/uc/sso/getUserInfo
- zww-url: https://bcdsg.zj.gov.cn:8443/restapi/prod/IC33000020220329000008/uc/sso/getUserInfo
-
|