spring: datasource: url: jdbc:mysql://172.16.90.253:3306/forest-cloud-mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai username: root password: 123456 druid: #连接池初始化大小 initial-size: 5 #最小空闲连接数 min-idle: 10 #最大连接数 max-active: 20 web-stat-filter: #不统计这些请求数据 exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*" #访问监控网页的登录用户名和密码 stat-view-servlet: login-username: druid login-password: druid servlet: multipart: enabled: true file-size-threshold: 0 max-file-size: 100000000 max-request-size: 100000000 redis: host: 172.16.90.64 # Redis服务器地址 database: 0 # Redis数据库索引(默认为0) port: 6379 # Redis服务器连接端口 # Redis服务器连接密码(默认为空) password: timeout: 300ms # 连接超时时间(毫秒) zipkin: base-url: http://localhost:9411 locator: discovery: enabled: true sleuth: sampler: # zipkin 抽样比例 在默认情况下,该值为0.1 probability: 1.0 boot: admin: client: # admin 服务端的地址 url: http://localhost:8095 management: endpoints: web: exposure: include: '*' endpoint: health: # 展示详情 show-details: always mybatis: mapper-locations: - classpath:dao/*.xml - classpath*:com/**/mapper/*.xml logging: level: #日志配置DEBUG,INFO,WARN,ERROR root: info com.hwrj.cloud: debug sleuth: sampler: # zipkin 抽样比例 在默认情况下,该值为0.1 probability: 1.0 boot: admin: client: # admin 服务端的地址 url: http://localhost:9091 # 过滤不需要认证路径条件 secure: ignored: urls: - /swagger-ui.html - /swagger-resources/** - /swagger/** - /**/v2/api-docs - /**/*.js - /**/*.css - /**/*.png - /**/*.ico - /webjars/springfox-swagger-ui/** - /actuator/** - /druid/** - /admin/login - /admin/register - /admin/info - /admin/logout - /minio/upload - /product/import - /big/** - /bigData/** - /upload/** jwt: tokenHeader: Authorization secret: forest-admin-secret expiration: 604800 tokenHead: Bearer redis: database: forest key: admin: 'ums:admin' token: 'ums:token' resourceList: 'ums:resourceList' expire: common: 86400 # 24小时 qiniu: accessKey: FLWUJxiZY1_N-5d6J_jsdgbqyjVDUg86ghZHsaQW bucket: forestcloud path: http://fqn.hongweisoft.com/ processName: 'null' secretKey: So55w4fQ2dTQ6uMlWuUywmKG8ZTqVhWfr_3Ii7GI