server:
port: 8080
spring:
datasource: #数据源配置
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/zys_erp?useUnicode=true&characterEncoding=utf8&useSSL=true&serverTimezone=UTC
username: root
password: root
druid:
max-active: 10
min-idle: 5
max-wait: 5000
initial-size: 5
validation-query: select 1
stat-view-servlet:
enabled: true
# login-username: admin
# login-password: admin
# allow:
# deny:
url-pattern: "/druid/*"
web-stat-filter:
enabled: true
url-pattern: "/druid/**"
exclusions: '*.js,*.gif,*.jpg,*.jpeg,*.png,*.css,*.ico,*.jsp,/druid/*'
principal-session-name: ''
session-stat-enable: true
session-stat-max-count: 1000
thymeleaf:
cache: false
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
#redis
redis:
host: www.leige.tech
password: 123456
port: 6390
jedis:
pool:
max-active: 20
max-idle: 8
min-idle: 0
max-wait: 2000 #shiro的配置
shiro:
hash-algorithm-name: md5
hash-iterations: 2
login-url: /index.html
unauthorized-url: /unauthorized.html
anon-urls:
- /api/login/doLogin*
- /api/druid/**
- /api/swagger-ui.html
- /api/webjars/**
- /api/swagger-resources/**
- /api/v2/**
- /api/login/captcha
- /api/login/checkLogin
logout-url: /api/login/logout*
authc-urls:
- /**
#mybatisplus的配置
mybatis-plus:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
mapper-locations: classpath:mapper/*/*Mapper.xml #fastdfs设置
fdfs:
so-timeout: 2500 # 读取时间
connect-timeout: 5000 # 连接超时时间
thumb-image: # 缩略图
width: 100
height: 100
tracker-list: # tracker服务配置地址列表
- www.leige.tech:22122
upload:
base-url: www.leige.tech/
allow-types:
- image/jpeg
- image/png
- image/bmp

最新文章

  1. vue DatePicker vue2.0的日期插件
  2. strace追踪未开始或者来不及捕获pid的进程(译)
  3. What's the difference between <b> and <strong>, <i> and <em> in HTML/XHTML? When should you use each?
  4. cnodejs社区论坛3--发表话题
  5. ObjC 利用反射和KVC实现嵌套对象序列化成JSON数据
  6. 本地调试WordPress计划终告失败
  7. JDK Tools - wsimport: 编译 WSDL 生成 JAX-WS 规范的 Java 类
  8. 顶部图片放大回弹效果Scrollview ---- 各应用中常见的自定义View 解析
  9. DELL WIN7系统安装 U盘
  10. SICP-1.6-高阶函数
  11. 【Win 10 应用开发】UI Composition 札记(四):绘制图形
  12. LeetCode(40)-Merge Sorted Array
  13. 环境搭建--使用pytharm远程调试树莓派
  14. [亲测哪步都不能省可用]联想ThinkPad E450装系统后开机一直停留在BootMenu上,无法选择硬盘进入
  15. 火狐mozilla官方ftp站点获取旧版本火狐的下载地址
  16. asp.net通过distinct过滤集合(list)中重复项的办法
  17. nRF52832-GPIOTE部分
  18. zw版【转发·台湾nvp系列Delphi例程】HALCON LocalMin1
  19. 汽车变智能只靠ADAS?麦克风也是主角
  20. 【原创】python requests 库底层Sockets处于close_wait状态

热门文章

  1. 如何在linux服务器下快速安装配置Node.js
  2. PHP字符串全排列算法
  3. 有向图强连通分量SCC(全网最好理解)
  4. vue js手机端滑到某一个位置时固定位置显示
  5. 自定义比较器(IComparer接口的实现)
  6. java基础篇 之 接口
  7. Android广播时间——实现强制下线功能
  8. JS中各种变量类型在条件判断为false的情况
  9. .Net Core3.0 WebApi 项目框架搭建 四:JWT权限验证
  10. 如何用尾插法建立双链表(C语言,非循环)