server: port: 8087 management: #开启SpringBoot Admin的监控 endpoints: web: exposure: include: "*" # 暴露xxx端点,如需暴露多个,用,分隔;如需暴露所有端点,用'*' enabled-by-default: false endpoint: health: show-details: ALWAYS # 是否展示健康检查详情 info: # info信息会显示到SpringBootAdmin的server端,这里取的是pom文件中的数据 version: 1.0-SNAPSHOT groupId: com.suisung.mall artifactId: mall-cms mybatis-plus: mapper-locations: classpath:/mapper/**/*.xml global-config: field-strategy: 1 db-config: id-type: auto configuration: auto-mapping-behavior: partial map-underscore-to-camel-case: false feign: okhttp: enabled: true ribbon: ConnectTimeout: 60000 #服务请求连接超时时间(毫秒) ReadTimeout: 60000 #服务请求处理超时时间(毫秒) spring: cache: redis: key-prefix: CACHE_ #缓存前缀 time-to-live: 3600000 #缓存失效时间 use-key-prefix: true #使用缓存前缀 cache-null-values: true #允许缓存空值