feiyu02
2025-09-30 6904763f0e74d9a9fa4dbc39f635d2aee39416c6
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
spring:
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    driver-class-name: com.mysql.jdbc.Driver
 
    initialSize: 5
    minIdle: 5
    maxWait: 60000
    timeBetweenEvictionRunsMillis: 60000
    minEvictableIdleTimeMillis: 300000
    validationQuery: SELECT 1 FROM DUAL
    testWhileIdle: true
    testOnBorrow: false~
    testOnReturn: false
    poolPreparedStatements: true
    maxPoolPreparedStatementPerConnectionSize: 20
    filters: stat,wall,log4j2
    connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
    useGlobalDataSourceStat: true
 
#thymeleaf设置不缓存
  thymeleaf:
    cache: false
 
 
#文件上传限制
  servlet:
    multipart:
      max-file-size: 25MB
      max-request-size: 100MB
 
#Jackson时间编码设置
  jackson:
    time-zone: GMT+8
 
#根据环境选择配置
  profiles:
    active: @profileActive@
 
  jmx:
    default-domain: ledger
 
# mybatis 配置
mybatis:
  type-aliases-package: cn.flightfeather.supervision.domain.entity
  mapper-locations: classpath*:mapper/*.xml
 
## 通用 Mapper 配置
#mappers 多个接口时逗号隔开
mapper:
  mappers: cn.flightfeather.supervision.domain.util.MyMapper
  not-empty: false
  identity: MYSQL
 
#logging路径设置
logging:
    config: classpath:log4j2.xml
 
springfox:
  documentation:
    swagger:
      v2:
        enabled: false
 
# Swagger json url address
# etc. https://petstore.swagger.io/
swagger.url: http://localhost:8080/v3/api-docs
# api访问网址
# api url : http://localhost:8080/swagger-ui/index.html
 
#针对微信小程序和安卓app两种前端,目前有部分区别,true:表示app,false:表示小程序
systemIsApp: false