1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
  | spring: 
 |    # 数据源配置 
 |    datasource: 
 |      url: jdbc:mysql://localhost:3306/antaiwuliu?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai 
 |      username: root 
 |      password: Atwl@2024 
 |      driver-class-name: com.mysql.cj.jdbc.Driver 
 |      type: com.alibaba.druid.pool.DruidDataSource 
 |    redis: 
 |      #    database: 0 
 |      host: 127.0.0.1 
 |      port: 6379 
 |      password: 
 |      timeout: 5000      # 连接池中的最小空闲连接 
 |    jackson: 
 |      time-zone: GMT+8 
 |      date-format: yyyy-MM-dd HH:mm:ss 
 |    
 |    
 |    
 |  debug_model: false 
 |    
 |  captcha_check: true 
 |    
 |  # Swagger配置 
 |  swagger: 
 |    host: 
 |    title: ${project.name}接口文档 
 |    description: ${project.name}接口文档 
 |    enabled: true 
 |    # 禁用swagger时的重定向地址 
 |    redirect-uri: / 
 |    
 |  timing: true 
 |    
 |  des_pwd: 123456SDFKDJF 
 |  
  |