jinlin
2023-11-03 35435e8b1995e6775c82b86652381e07e3faff54
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
# Tomcat
server:
  tomcat:
    uri-encoding: UTF-8
    max-threads: 1000
    min-spare-threads: 30
  port: 8050
  servlet:
    context-path: /life-protection
    session:
      cookie:
        http-only: true
      timeout: PT1H30M
spring:
  profiles:
    active: prod
  datasource:
    druid:
      driver-class-name: com.mysql.cj.jdbc.Driver
#      url: jdbc:mysql://127.0.0.1:3306/csiczb?allowMultiQueries=true&hive.exec.orc.split.strategy=ETL&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8
      url: jdbc:mysql://127.0.0.1:3306/test_project?allowMultiQueries=true&hive.exec.orc.split.strategy=ETL&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8
#      url: jdbc:mysql://127.0.0.1:3306/zhpt_djxl?serverTimezone=GMT&allowMultiQueries=true&hive.exec.orc.split.strategy=ETL&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8
      username: root
      password: 123456
#      driver-class-name: com.kingbase8.Driver
#      url: jdbc:kingbase8://192.168.0.25:54321/ZHPT?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
#      username: SYSTEM
#      password: 123456
      initial-size: 10
      max-active: 100
      min-idle: 10
      max-wait: 6000
      pool-prepared-statements: true
      max-pool-prepared-statement-per-connection-size: 20
      time-between-eviction-runs-millis: 60000
      min-evictable-idle-time-millis: 300000
      test-while-idle: true
      test-on-borrow: false
      test-on-return: false
      stat-view-servlet:
        enabled: true
        url-pattern: /druid/*
        #login-username: admin
        #login-password: admin
      filter:
        stat:
          log-slow-sql: true
          slow-sql-millis: 1000
          merge-sql: false
        wall:
          config:
            multi-statement-allow: true
  messages:
    encoding: UTF-8
    basename: i18n/messages
  servlet:
    multipart:
      max-file-size: 101MB
      max-request-size: 101MB
      enabled: true
  redis:
    host: 127.0.0.1
    port: 6379
  cache:
    type: none # 原先使用redis,现在改为none
#    redis:
#      use-key-prefix: false
#      time-to-live: 3600000
#      cache-null-values: true
 
  activiti:
    check-process-definitions: false
 
#mybatis
mybatis-plus:
  mapper-locations: classpath*:/mapper/**/*.xml
  #实体扫描,多个package用逗号或者分号分隔
  typeAliasesPackage: com.zt.*.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'
 
logging:
  level:
    com.zt : debug
  config: classpath:logback-spring.xml
j2cache:
  config-location: classpath:/j2cache.properties
  redis-client: lettuce
  open-spring-cache: true
 
fdfs:
  so-timeout: 600000
  connect-timeout: 6000
  tracker-list: #TrackerList参数,支持多个
  - 192.168.10.10:22122
 
# cas server settings
cas:
  #  tgc:
  #    secure: false
  #  serviceRegistry:
  #    initFromJson: true
  server-url-prefix: http://localhost:8100/cas
  server-login-url: http://localhost:8100/cas/login
  client-host-url: http://localhost:8050
  validation-type: cas
 
zt:
  oss:
    type: local
    local-domain: http://127.0.0.1:8050/life-protection/
    local-path: D:/ZHPT/IMG/ #附件存储目录
    local-qd-path: D:/ZHPTQD/IMG/ #附件存储目录
    local-prefix: life-protection #附件存储子目录
    local-area: sy
    local-server: jd
 
#系统配置
data:
  key: yycbCuSrN1lPMI4M
  # path: /ZHPT/IMG/DATAEXPORT/
  sync-path: D:/ZHPT/IMG/SYNCDATAEXPORT/
  # sync-data-path: D:/ZHPT/IMG/SYNCDATAEXPORT/DATA/
  # sync-file-path: D:/ZHPT/IMG/SYNCDATAEXPORT/FILE/
  batch-file-path:  D:/ZHPTQD/IMG/
  # sync-zip-path: /ZHPT/IMG/ 用zt.oss.local-path
 
  # 一下4项分系统接口不用了
  replace-url: http://61.183.254.94:8090
  edms-url: http://61.183.254.94:8090
  train-url: http://localhost:8001
  ietp-url: http://www.sina.com.cn?
 
  maintain-home-url: http://10.70.100.41:8080/ #维修系统首页
 
  # 以下几项已经在程序中写死了 配置不起作用
  technology-url: http://localhost:8001 #态势图首页
  login-url: http://localhost:8001/#/login #http://10.70.100.41:8080/login
  single-sign-url: /system/user/getLoginUserOfToken
  single-sign-verify-url: /system/user/verifyOFToken
  # http://localhost50/life-protection/system/user/getLoginUserOfToken?token=aaa
 
  # 网络图pdf文件单位信息
  diagram-unit: aaaabbbbbbbbbb
  diagram-license: d:/Aspose.TotalProductFamily.lic
 
  # 1 研究所,2 厂家,3 T队, 4 保障部 ,5 hjjg
  unittype: 2
  # 如果unittype是1、4、5 unitid和unittype一致  如果unittype是2、3 则unitid取sys_dept表对应的id(切记重名和是否删除)
  unitid: 1303144636127498242
  #left,top
  menuPos: left
  debug: true
  test: true
 
  line-nodes: 10
  area-width: 5000
 
  testNewFun: false
  loginbytoken: single2
 
  sessionTimeout: 200
  # 单位分钟
  tokenTimeout: 60
  # 单位分钟
 
  # 不用了
  basicInforImport:
    shipId: 3244
    busiType: BaseInfo
 
########################器材相关start
img:
  location: D://workdir/deploy/img
excel:
  location: D://
download:
  location: D://workdir/deploy
adb:
  path: E:\\Android\\android dev tool\\sdk\\platform-tools
 
xian:
  number: 910
 
isDisplay:
  data: true
isShow:
  data: false
Cang:
  flag: 3
 
box:
  number: Q
image:
  location: D://workdir/deploy/img/imgeqpt/
  device: D://workdir/deploy/img/imgdevice/
kind:
  code: S
Handset:
  code: M
BoxPolling:
  schedule: "0/60 * * * * ?"
  ip: 192.168.0.1
  port: 9300
  udp_port: 9300
excelModel:
  location: D://workdir/deploy/excelModel
backups:
  rate: 2
########################器材相关end