heheng
2025-03-13 a8093135db821832e916f5c0f9851734f336cb27
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
server:
  port: 16070
 
spring:
  #    enable-logging: false
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://192.168.0.228:3306/laboratory_risk_manage?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&serverTimezone=Asia/Shanghai&useAffectedRows=true
    username: root
    password: Gslab@uss2021!
    master:
      driver-class-name: com.mysql.cj.jdbc.Driver
      url: jdbc:mysql://192.168.0.228:3306/laboratory_risk_manage?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&serverTimezone=Asia/Shanghai&useAffectedRows=true
      username: root
      password: Gslab@uss2021!
      type: com.alibaba.druid.pool.DruidDataSource
  jpa: 
    hibernate: 
      ddl-auto: none
#      ddl-auto: update #自动更新
    show-sql: true  #日志中显示sql语句
 
  redis:
#    host: 192.168.0.52
#    port: 6371
#    password: SEF98uvs98dUAUEF90Udssa      # Redis 服务器密码,默认为空。生产中,一定要设置 Redis 密码!
#    database: 0           # Redis 数据库号,默认为 0
#    timeout: 5000        # Redis 连接超时时间,单位:毫秒。
    redisson:
      file: classpath:config/redisson-gslab.yml
    lettuce:
      pool:
        # 最大连接数
        max-active: 8
        min-active: 3
        # 最大阻塞等待时间(负数表示没限制)
        max-wait: -1
        # 最小空闲
        min-idle: 3
        # 最大空闲
        max-idle: 8
  jackson:
    default-property-inclusion: non_null
    date-format: yyyy-MM-dd HH:mm:ss
    time-zone: GMT+8
 
 
system:
  deployMode: standalone  #单机部署
#  deployMode: cluster  #集群部署
  enableCors: true  #跨域设置
  token: #token 配置项
    header: tk
    expiration: 7200
    refreshExpiration: 14400
    loginUserHeader: uid
 
file:
    path:
      #基础路径
      dcPath: /home/upload/laboratoryRiskManage/
      urlRootPath: /uploadLab/
      module:
        #用户模块
        accountPath: /account/user/
        #辨识模块
        identification: /identification/
 
mybatis:
  mapper-locations: classpath:mapper/*.xml
  #  type-aliases-package: com.gkhy.labRiskManage.domain.**