doum
2025-09-26 9057e04efad1b7d61c77a72e5c37a504d0aee935
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# WEB服务器配置
server:
  port: 10010
 
spring:
  # 数据源配置
  datasource:
    url: jdbc:mysql://57b57595ddc66.sh.cdb.myqcloud.com:4464/dmtt_run?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
    username: test
    password: doumee@168
    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
  freemarker:
    cache: false  #关闭模板缓存,方便测试
    settings:
      template_update_delay: 0 #检查模板更新延迟时间,设置为0表示立即检查,如果时间大于0会有缓存不方便进行模板测试
    suffix: .html             #指定Freemarker模板文件的后缀名
    #    template-loader-path: classpath:/templates #指定模板文件所在的路径
    template-loader-path:
      - file:D:/apache-tomcat-9.0.106-windows-x64/apache-tomcat-9.0.106/webapps/templates #指定模板文件所在的路径
      - file:D:/apache-tomcat-9.0.106-windows-x64/apache-tomcat-9.0.106/webapps/templates/mobile
 
  mail:
    host: smtp.aliyun.com
    port: 465
    username: your_email@aliyun.com
    password: your_password
    properties:
      mail:
        smtp:
          auth: true
          starttls:
            enable: true
            required: true
          ssl:
            enable: true
debug_model: true
 
# Swagger配置
swagger:
  host: 127.0.0.1
  title: ${project.name}接口文档
  description: ${project.name}接口文档
  enabled: true
  context-path: 
  # 禁用swagger时的重定向地址
  redirect-uri: /
 
des_pwd: 123456SDFKDJF
 
knife4j:
  enable: true
  basic:
    enable: true
    username: admin
    password:
 
upload:
  type: blob