jinlin
2025-04-10 af67fb927c3f30fa70df834f0e97f0b4a91e6119
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
logging:
  level:
    com.example: debug
  file: log/my.log
 
server:
  port: 3030
 
j2cache:
  config-location: classpath:/j2cache.properties
 
data:
  imgDir: src/main/resources/static/img
  identity: 17752289545958719176
  line-nodes: 10
  area-width: 5000
  configPath: config.properties
  tmp-path: templateFile/
 
spring:
  profiles:
    active: prod
  datasource:
    driver-class-name: org.sqlite.JDBC
    url: "jdbc:sqlite:src/main/resources/db/csiczb1.db"
    username: "root"
    password: "123456"
  messages:
    encoding: UTF-8
    basename: i18n/messages
  servlet:
    multipart:
      max-file-size: 1034MB
      max-request-size: 1034MB
      enabled: true
  redis:
    host: 127.0.0.1
    port: 6379
  cache:
    type: none # 原先使用redis,现在改为none
 
mybatis-plus:
  mapper-locations: classpath*:/mapper/**/*.xml
  #实体扫描,多个package用逗号或者分号分隔
  typeAliasesPackage: com.example.*.model
  global-config:
    #数据库相关配置
    db-config:
      #主键类型  AUTO:"数据库ID自增", INPUT:"用户输入ID", ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
      id-type: ID_WORKER
    banner: false
  #原生配置
  configuration:
    map-underscore-to-camel-case: true
    cache-enabled: false
    call-setters-on-nulls: true
    jdbc-type-for-null: 'null'
 
zt:
  oss:
    type: local
    local-domain: http://127.0.0.1:8050/life-protection/
    local-path: D:/ZHPT/IMG/ #附件存储目录
    log-path: D:/ZHPT/IMG/ #附件存储目录
    local-qd-path: D:/ZHPTQD/IMG/ #附件存储目录
    local-prefix: life-protection #附件存储子目录
    local-area: sy
    local-server: jd
    Unzip-path: D:/ZHPT/IMG/unZip/