| | |
| | | password: xboot |
| | | |
| | | server: |
| | | port: 8888 |
| | | port: 9091 |
| | | servlet: |
| | | context-path: / |
| | | tomcat: |
| | |
| | | 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配置 |
| | |
| | | service-base-url: http://127.0.0.1:${server.port}/ |
| | | web: |
| | | resources: |
| | | static-locations: classpath:/static |
| | | cache: |
| | | cachecontrol: |
| | | # 静态资源缓存30天 |
| | |
| | | # 暂未使用ES 排除client自动装配类 |
| | | - org.springframework.boot.autoconfigure.data.elasticsearch.ReactiveElasticsearchRestClientAutoConfiguration |
| | | |
| | | mvc: |
| | | static-path-pattern: //** |
| | | xboot: |
| | | # 全局限流 |
| | | ratelimit: |
| | | # 开启 |
| | | enable: true |
| | | enable: false |
| | | # 每1秒内(单位毫秒) |
| | | timeout: 1000 |
| | | # 总限制200个请求(单位个) |
| | |
| | | # IP限流 |
| | | iplimit: |
| | | # 开启 |
| | | enable: true |
| | | enable: false |
| | | # 每1秒内(单位毫秒) |
| | | timeout: 1000 |
| | | # 每个ip限制20个请求(单位个) |
| | |
| | | - /**/*.ico |
| | | - /xboot/test/** |
| | | - /xboot/fingerprint/getAll |
| | | - /xboot/orderSyn/** |
| | | - /hk/** |
| | | - /xboot/wx/** |
| | | - /index.html |
| | | - /xboot/pcStatistic/** |
| | | - /xboot/pcStatistic2/** |
| | | - /xboot/area/getAll |
| | | - /xboot/areaSection/getAll2 |
| | | - /xboot/message/** |
| | | - /xboot/updateApp/** |
| | | - /xboot/fingerprint/getUserByCode |
| | | # 限流及黑名单不拦截的路径 |
| | | limitUrls: |
| | | - /**/*.js |
| | |
| | | title: XBoot API接口文档 |
| | | description: XBoot Api Documentation |
| | | version: 1.0.0 |
| | | termsOfServiceUrl: http://xboot.exrick.cn |
| | | termsOfServiceUrl: http://xxxx |
| | | contact: |
| | | name: Exrick |
| | | url: http://blog.exrick.cn |
| | | email: 1012139570@qq.com |
| | | name: xxx |
| | | url: http://blog.xxx.cn |
| | | email: xxxx@qq.com |
| | | # 分组名 |
| | | group: 1.XBoot管理接口 v1.0 |
| | | group2: 2.XBoot APP接口 v1.0 |
| | | group: 1.接口 v1.0 |
| | | group2: 2.APP接口 v1.0 |
| | | |
| | | # Mybatis-plus |
| | | mybatis-plus: |