spring: resources: # 配置静态文件路径 static-locations: file:D:/wwwroot/mall/public/static/ # 本地环境静态文件路径 mvc: static-path-pattern: /admin/static/** datasource: url: jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=CONVERT_TO_NULL username: fafamall password: brCnv0qLt8s0VqhI driver-class-name: com.mysql.cj.jdbc.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: @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@ # 本地环境静态文件路径 # 控制台日志信息 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@