spring: resources: # 配置静态文件路径 static-locations: file:/opt/apps/mall/public/static/ mvc: static-path-pattern: /admin/static/** datasource: url: jdbc:mysql://@mysql.host@:@mysql.port@/@mysql.db@?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&&zeroDateTimeBehavior=convertToNull username: @mysql.user@ password: @mysql.pwd@ driver-class-name: @mysql.driver@ type: com.alibaba.druid.pool.DruidDataSource druid: async-init: true initial-size: 5 max-active: 20 min-idle: 5 max-wait: 60000 validationQuery: SELECT 1 test-while-idle: true test-on-borrow: false test-on-return: false pool-prepared-statements: true max-pool-prepared-statement-per-connection-size: 20 filters: stat,wall,slf4j filter: stat: enabled: true db-type: mysql log-slow-sql: true slow-sql-millis: 10 aop-patterns: com.suisung.mall.common.service.impl.*,com.suisung.mall.core.web.service.impl.*,com.suisung.mall.admin.* redis: # host: 127.0.0.1 # Redis服务器地址 host: @redis.host@ # Redis服务器地址 database: @redis.database@ # Redis数据库索引(默认为0) port: @redis.port@ # Redis服务器连接端口 password: @redis.password@ # Redis服务器连接密码(默认为空) timeout: 3000ms # 连接超时时间(毫秒) lettuce: pool: max-active: 64 max-wait: -1ms max-idle: 64 min-idle: 0 cloud: nacos: discovery: server-addr: @nacos.server.address@ config: server-addr: @nacos.server.address@ file-extension: yaml sentinel: transport: dashboard: @sentinel.transport.dashboard@ eager: true upload: # 图片上传配置 filepath: @upload.filepath@ #upload: # 图片上传配置 # ip: http://127.0.0.1:8201 # filepath: /Users/antusheng/Downloads/admin/shop/static/image/ # 本地环境静态文件路径 # 控制台日志信息 logging: level: com: suisung: mall: admin: mapper: debug sun: mail: error baomidou: error alibaba: cloud: seata: error nacos: client: naming: error config: error netflix: error org: error io: error reactor: error springfox: error logstash: host: @logstash.host@