k94314517
2025-07-04 50fb58286ed3b718c39a97e0987ee7561a295651
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# WEB服务器配置
server:
  compression:
    enabled: true
    mime-types: application/json
 
  tomcat:
    max-swallow-size: -1
  servlet:
    session:
      timeout: PT3H  #表示12小时
 
spring:
  # 数据源配置
  datasource:
    url: jdbc:mysql://rm-bp12tny4ir5b7l65xno.mysql.rds.aliyuncs.com:3306/yyb?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=GMT%2B8
    username: yyb
    password: Yyb123456
    driver-class-name: com.mysql.cj.jdbc.Driver
    type: com.alibaba.druid.pool.DruidDataSource
#    url: jdbc:mysql://112.26.66.25:3306/yyb?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=GMT%2B8
#    username: root
#    password: Doumee@168&QWERT
#    driver-class-name: com.mysql.cj.jdbc.Driver
#    type: com.alibaba.druid.pool.DruidDataSource
#  mail:
#    host: smtp.exmail.qq.com
#    username: jp@doumee.com
#    password: p7iKUE8VvQQpY58S
#    default-encoding: UTF-8
#    properties:
#      mail:
#        smtp:
#          auth: true
#        starttls:
#          enable: true
#          required: true
  mail:
    default-encoding: UTF-8
    host: smtp.exmail.qq.com
    username: kefu@yyb.red
    password: 5CGaprcdshS7bHaM
    port: 465
    properties:
      mail:
        smtp:
          auth: true
        starttls:
          enable: true
          required: true
 
  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
 
knife4j:
  enable: true
  basic:
    enable: true
    username: admin
    password: 111111
 
debug_model: true
 
 
# Swagger配置
swagger:
  host:
  title: ${project.name}接口文档
  description: ${project.name}接口文档
  enabled: true
  # 禁用swagger时的重定向地址
  redirect-uri: /
 
project:
  imgAuthen: false