wang-hao-jie
2021-12-27 7f9bb0c243fc4bb8ec31dd2ec001c842150b99bc
xboot-admin/src/main/resources/application.yml
@@ -4,7 +4,7 @@
    password: xboot
server:
  port: 8888
  port: 9091
  servlet:
    context-path: /
  tomcat:
@@ -26,7 +26,8 @@
    url: jdbc:mysql://127.0.0.1:3306/tobacco?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
    username: root
    # Jasypt加密 可到common-utils中找到JasyptUtil加解密工具类生成加密结果 格式为ENC(加密结果) 以下解密结果为123456
    password: ENC(/1qjpLsQSzc4KM+2VhqLecwQu3npNYZo/zclpH/VR34dMdLeW2IVin6V1vH1Xug4)
    password: wanghaojie
    #password: 123456
    type: com.alibaba.druid.pool.DruidDataSource
    driverClassName: com.mysql.jdbc.Driver
    # Druid StatViewServlet配置
@@ -168,7 +169,7 @@
    # token中存储用户权限数据 设为true开启后可避免每次请求再获取用户权限,但有可能导致编辑权限菜单后无法读取到最新权限数据(需用户重新登录)
    storePerms: true
    # token过期时间 redis模式有请求自动刷新(分钟)
    tokenExpireTime: 60
    tokenExpireTime: 600
    # 用户选择 保存登录状态/记住我 对应token过期时间(天)
    saveLoginTime: 7
    # 限制用户登陆错误次数(次)
@@ -288,6 +289,10 @@
    - /**/*.png
    - /**/*.ico
    - /xboot/test/**
    - /xboot/fingerprint/getAll
    - /xboot/orderSyn/**
    - /hk/**
    - /xboot/wx/**
  # 限流及黑名单不拦截的路径
  limitUrls:
    - /**/*.js