| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- server:
- port: 8086
- servlet:
- context-path: /water-tank-installation
- # 需要设置外置容器的tomcat8 maxPostSize
- # tomcat:
- # max-http-form-post-size: 10MB
- spring:
- servlet:
- multipart:
- max-request-size: 20MB
- max-file-size: 20MB
- datasource:
- driver-class-name: net.sf.log4jdbc.DriverSpy
- type: com.alibaba.druid.pool.DruidDataSource
- druid:
- # 连接池的配置信息
- # 初始化大小,最小,最大
- initial-size: 5
- min-idle: 5
- maxActive: 20
- # 配置获取连接等待超时的时间
- maxWait: 60000
- # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
- timeBetweenEvictionRunsMillis: 60000
- # 配置一个连接在池中最小生存的时间,单位是毫秒
- minEvictableIdleTimeMillis: 300000
- validationQuery: SELECT 1
- testWhileIdle: true
- testOnBorrow: true
- testOnReturn: false
- # 打开PSCache,并且指定每个连接上PSCache的大小
- poolPreparedStatements: false
- maxPoolPreparedStatementPerConnectionSize: 20
- # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
- filters: stat,wall
- # 通过connectProperties属性来打开mergeSql功能;慢SQL记录
- connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
- # 配置DruidStatFilter
- web-stat-filter:
- enabled: true
- url-pattern: "/*"
- exclusions: "*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*"
- # 配置DruidStatViewServlet
- stat-view-servlet:
- url-pattern: "/druid/*"
- # IP白名单(没有配置或者为空,则允许所有访问)
- allow:
- # IP黑名单 (存在共同时,deny优先于allow)
- deny:
- # 禁用HTML页面上的“Reset All”功能
- reset-enable: false
- # 登录名
- login-username: admin
- # 登录密码
- login-password: jpsoft
- devtools:
- restart:
- enabled: true
- profiles:
- active: dev
- redis:
- # Redis数据库索引(默认为0)
- database: 4
- # Redis服务器地址
- host: 127.0.0.1
- #host: 127.0.0.1
- # Redis服务器连接端口
- port: 6379
- # Redis服务器连接密码(默认为空)
- password:
- #password: 123456
- # 连接池最大连接数(使用负值表示没有限制)
- pool:
- max-active: 8
- # 连接池最大阻塞等待时间(使用负值表示没有限制)
- max-wait: -1
- # 连接池中的最大空闲连接
- max-idle: 8
- # 连接池中的最小空闲连接
- min-idle: 0
- # 连接超时时间(毫秒)
- timeout: 0
- rabbitmq:
- host: 119.36.146.59
- port: 5672
- username: admin
- password: admin
- #虚拟host 可以不设置,使用server默认host
- virtual-host: devmq
- resources:
- static-locations: classpath:/static/
- thymeleaf:
- cache: false
- mode: HTML
- prefix: classpath:/templates/
- suffix: .html
- encoding: UTF-8
- servlet:
- content-type: text/html; charset=utf-8
- jwt:
- secret: WJgLLiAktNj/vCNEoz6mfAmE0btwluCTk/TnJiZOIkQ=
- header: Authorization
- mybatis:
- typeAliasesPackage: com.jpsoft.employment.**.entity
- mapperLocations: classpath*:mapper/**/*.xml
- configuration:
- default-statement-timeout: 60
- pagehelper:
- helperDialect: mysql
- reasonable: true
- supportMethodsArguments: true
- params: count=countSql
- wx:
- #错误
- appId: wx014362202dd87dd7
- appSecret: aaf8db83ff69c3716a62e3d5bd21c292
- applet:
- #三得利小程序
- appId: wx7eec18cd89b9d777
- appSecret: 5a0aa258fda3e75097a80764dab73202
- #oss:
- # accessKeyId: LTAILGOo7bwpkvnq
- # accessKeySecret: ZGsaTO5klbSHxULr2Q3s2PiqKDzN15
- # endpoint: http://oss-cn-hangzhou.aliyuncs.com
- # bucketName: wzzgh2out
- # urlPrefix: http://vod.wzgh.org
- # objectPre: smart
- oss:
- accessKeyId: LTAI5tE6rbN2oHo1v5dfm8NL
- accessKeySecret: pYwijAneKvDVvC68Cyx33UgZHkdCH8
- endpoint: http://oss-cn-hangzhou.aliyuncs.com
- bucketName: rccs
- # urlPrefix: http://rccs.oss-cn-hangzhou.aliyuncs.com
- urlPrefix: https://oss.hbjp.com.cn
- objectPre: water-tank
- aliyun:
- accessKeyId: LTAI5tS5VM3ewtNgMBugXRVu
- accessKeySecret: GSEiVLd4nj6CN7KahXX6FOl1N8PNpw
- regionId: cn-hangzhou
|