xuefei
2020-12-22 4745238280ae22f373802470844c66cbcdbf4458
platform-admin/src/main/resources/application.yml
@@ -4,7 +4,7 @@
#    password: platform
server:
  port: 8888
  port: 9096
  servlet:
    context-path: /
  tomcat:
@@ -15,10 +15,10 @@
spring:
  # 数据源
  datasource:
    url: jdbc:mysql://127.0.0.1:3306/zhyl?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
    username: root
    url: jdbc:mysql://39.96.92.240:3306/zhyl?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
    username: boying
    # Jasypt加密 可到common-utils中找到JasyptUtil加解密工具类生成加密结果 格式为ENC(加密结果) 以下解密结果为123456
    password: root
    password: 2009boying
    type: com.alibaba.druid.pool.DruidDataSource
    driverClassName: com.mysql.cj.jdbc.Driver
    # Druid StatViewServlet配置
@@ -100,14 +100,14 @@
platform:
  # 全局限流
  ratelimit:
    enable: true
    enable: false
    # 每1秒内
    timeout: 1000
    # 总限制200个请求
    limit: 200
  # IP限流
  iplimit:
    enable: true
    enable: false
    # 每1秒内
    timeout: 1000
    # 每个ip限制20个请求
@@ -152,8 +152,7 @@
ignored:
  # 无需登录认证的请求
  urls:
    - /api/**
    - /api2/**
    - /**
    - /platform/file/**
    - /platform/oauth2/**
    - /platform/actuator/**
@@ -177,6 +176,8 @@
    - /**/*.css
    - /**/*.png
    - /**/*.ico
    - /**/*.html
    - /*.html
# Actuator
management: