spring: datasource: url: jdbc:mysql://172.16.90.64:3306/carbon-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 redis: host: 172.16.90.64 database: 0 port: 6379 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 # 过滤不需要认证路径条件 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 mybatis: mapper-locations: - classpath:dao/*.xml - classpath*:com/**/mapper/*.xml jwt: tokenHeader: Authorization secret: mall-admin-secret expiration: 604800 tokenHead: Bearer redis: database: mall key: admin: 'ums:admin' token: 'ums:token' resourceList: 'ums:resourceList' expire: common: 86400 # 24小时 logging: level: root: info com.mtcarpenter.mall: info