# Spring Boot 应用配置 spring: # 应用基本信息 application: name: lanecarford-ai-styling-assistant # 数据源配置 - MySQL datasource: url: jdbc:mysql://localhost:3306/lanecarford?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai username: root password: 123456 driver-class-name: com.mysql.cj.jdbc.Driver # HikariCP 连接池配置 hikari: maximum-pool-size: 20 minimum-idle: 5 idle-timeout: 300000 max-lifetime: 1200000 connection-timeout: 20000 data: redis: host: 172.31.11.32 port: 6379 database: 3 password: Aidlab lettuce: pool: max-active: 8 max-idle: 8 min-idle: 0 max-wait: 5 security: jwtSecret: JWTSECRET jwtTokenHeader: Authorization jwtTokenPrefix: Bearer- jwtExpiration: 604800000 # MyBatis-Plus 配置 mybatis-plus: configuration: map-underscore-to-camel-case: true log-impl: org.apache.ibatis.logging.stdout.StdOutImpl global-config: db-config: logic-delete-field: deleted logic-delete-value: 1 logic-not-delete-value: 0 mapper-locations: classpath*:/mapper/**/*.xml # 服务器配置 server: port: 8080 # Swagger 文档配置 springdoc: api-docs: path: /api-docs swagger-ui: path: /swagger-ui.html enabled: true # 日志配置 logging: level: com.aida.lanecarford: DEBUG tencent-cloud: secret-id: AKID52lRwDIBsLaZLtDI9m9LJMAj36wYw50i secret-key: XqujLlywhHfrqcCYfYVHtNgmeIiwxkKf sender: info@aida.com.hk