jiangping
2023-09-05 5a7abb7053ad90d71ee0fbdbd2cac4e29956114b
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
# WEB服务器配置
server:
  compression:
    enabled: true
    mime-types: application/json
 
  port: 10017
  tomcat:
    max-swallow-size: -1
  servlet:
    session:
      timeout: PT3H  #表示12小时
 
spring:
  # 数据源配置
  datasource:
    url: jdbc:mysql://57b57595ddc66.sh.cdb.myqcloud.com:4464/pre_select?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=GMT%2B8
    username: test
    password: doumee@168
    driver-class-name: com.mysql.cj.jdbc.Driver
    type: com.alibaba.druid.pool.DruidDataSource
 
  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
 
captcha_check: false
 
# Swagger配置
swagger:
  host:
  title: ${project.name}接口文档
  description: ${project.name}接口文档
  enabled: true
  # 禁用swagger时的重定向地址
  redirect-uri: /
 
project:
  imgAuthen: false