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
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
| /*
| Navicat Premium Data Transfer
|
| Source Server : iailab_platform
| Source Server Type : MySQL
| Source Server Version : 80027
| Source Host : 172.16.8.100:3306
| Source Schema : nacos
|
| Target Server Type : MySQL
| Target Server Version : 80027
| File Encoding : 65001
|
| Date: 08/08/2024 10:22:37
| */
|
| SET NAMES utf8mb4;
| SET FOREIGN_KEY_CHECKS = 0;
|
| -- ----------------------------
| -- Table structure for config_info
| -- ----------------------------
| DROP TABLE IF EXISTS `config_info`;
| CREATE TABLE `config_info` (
| `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
| `data_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'data_id',
| `group_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
| `content` longtext CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'content',
| `md5` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'md5',
| `gmt_create` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '创建时间',
| `gmt_modified` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '修改时间',
| `src_user` text CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT 'source user',
| `src_ip` varchar(20) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'source ip',
| `app_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
| `tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT '租户字段',
| `c_desc` varchar(256) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
| `c_use` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
| `effect` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
| `type` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
| `c_schema` text CHARACTER SET utf8 COLLATE utf8_bin NULL,
| `encrypted_data_key` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '加密key',
| PRIMARY KEY (`id`) USING BTREE,
| UNIQUE INDEX `uk_configinfo_datagrouptenant`(`data_id` ASC, `group_id` ASC, `tenant_id` ASC) USING BTREE
| ) ENGINE = InnoDB AUTO_INCREMENT = 96 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = 'config_info' ROW_FORMAT = DYNAMIC;
|
| -- ----------------------------
| -- Records of config_info
| -- ----------------------------
| INSERT INTO `config_info` VALUES (83, 'infra-server-test.yaml', 'DEFAULT_GROUP', '--- #################### 数据库相关配置 ####################\r\nspring:\r\n\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n# - de.codecentric.boot.admin.server.config.AdminServerAutoConfiguration # 禁用 Spring Boot Admin 的 Server 的自动配置\r\n# - de.codecentric.boot.admin.server.cloud.config.AdminServerDiscoveryAutoConfiguration # 禁用 Spring Boot Admin 的 Server 的自动配置\r\n# - de.codecentric.boot.admin.server.ui.config.AdminServerUiAutoConfiguration # 禁用 Spring Boot Admin 的 Server UI 的自动配置\r\n# - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.100:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n# rocketmq 配置项,对应 RocketMQProperties 配置类\r\nrocketmq:\r\n name-server: 172.16.8.100:9876 # RocketMQ Namesrv\r\n\r\nspring:\r\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\r\n rabbitmq:\r\n host: 172.16.8.100 # RabbitMQ 服务的地址\r\n port: 5672 # RabbitMQ 服务的端口\r\n username: guest # RabbitMQ 服务的账号\r\n password: guest # RabbitMQ 服务的密码\r\n # Kafka 配置项,对应 KafkaProperties 配置类\r\n kafka:\r\n bootstrap-servers: 172.16.8.100:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\r\n\r\n--- #################### 定时任务相关配置 ####################\r\nxxl:\r\n job:\r\n enabled: false # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n # Spring Boot Admin Server 服务端的相关配置\r\n context-path: /admin # 配置 Spring\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.infra.dal.mysql: debug\r\n com.iailab.module.infra.dal.mysql.logger.ApiErrorLogMapper: INFO # 配置 ApiErrorLogMapper 的日志级别为 info,避免和 GlobalExceptionHandler 重复打印\r\n com.iailab.module.infra.dal.mysql.file.FileConfigMapper: INFO # 配置 FileConfigMapper 的日志级别为 info\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n security:\r\n mock-enable: true\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n', 'ad1b3a25fd5dc6c41f11b9dc29f78740', '2024-07-25 08:37:01', '2024-07-25 08:37:01', 'nacos', '172.16.0.6', 'infra-server', 'test', NULL, NULL, NULL, 'yaml', NULL, '');
| INSERT INTO `config_info` VALUES (84, 'system-server-test.yaml', 'DEFAULT_GROUP', '--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.100:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n# rocketmq 配置项,对应 RocketMQProperties 配置类\r\nrocketmq:\r\n name-server: 172.16.8.100:9876 # RocketMQ Namesrv\r\n\r\nspring:\r\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\r\n rabbitmq:\r\n host: 172.16.8.100 # RabbitMQ 服务的地址\r\n port: 5672 # RabbitMQ 服务的端口\r\n username: guest # RabbitMQ 服务的账号\r\n password: guest # RabbitMQ 服务的密码\r\n # Kafka 配置项,对应 KafkaProperties 配置类\r\n kafka:\r\n bootstrap-servers: 172.16.8.100:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.system.dal.mysql: debug\r\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\r\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\r\n #org.springframework.context.support.PostProcessorRegistrationDelegate: ERROR # TODO 芋艿:先禁用,Spring Boot 3.X 存在部分错误的 WARN 提示\r\n\r\n--- #################### 微信公众号、小程序相关配置 ####################\r\nwx:\r\n mp: # 公众号配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-mp-spring-boot-starter/README.md 文档\r\n # app-id: wx041349c6f39b268b\r\n # secret: 5abee519483bc9f8cb37ce280e814bd0\r\n app-id: wx5b23ba7a5589ecbb # 测试号\r\n secret: 2a7b3b20c537e52e74afd395eb85f61f\r\n # 存储配置,解决 AccessToken 的跨节点的共享\r\n config-storage:\r\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\r\n key-prefix: wx # Redis Key 的前缀\r\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\r\n miniapp: # 小程序配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-miniapp-spring-boot-starter/README.md 文档\r\n # appid: wx62056c0d5e8db250\r\n # secret: 333ae72f41552af1e998fe1f54e1584a\r\n appid: wx63c280fe3248a3e7 # wenhualian的接口测试号\r\n secret: 6f270509224a7ae1296bbf1c8cb97aed\r\n config-storage:\r\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\r\n key-prefix: wa # Redis Key 的前缀\r\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n captcha:\r\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\r\n security:\r\n mock-enable: true\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n\r\njustauth:\r\n enabled: true\r\n type:\r\n DINGTALK: # 钉钉\r\n client-id: dingvrnreaje3yqvzhxg\r\n client-secret: i8E6iZyDvZj51JIb0tYsYfVQYOks9Cq1lgryEjFRqC79P3iJcrxEwT6Qk2QvLrLI\r\n ignore-check-redirect-uri: true\r\n WECHAT_ENTERPRISE: # 企业微信\r\n client-id: wwd411c69a39ad2e54\r\n client-secret: 1wTb7hYxnpT2TUbIeHGXGo7T0odav1ic10mLdyyATOw\r\n agent-id: 1000004\r\n ignore-check-redirect-uri: true\r\n # noinspection SpringBootApplicationYaml\r\n WECHAT_MINI_APP: # 微信小程序\r\n client-id: ${wx.miniapp.appid}\r\n client-secret: ${wx.miniapp.secret}\r\n ignore-check-redirect-uri: true\r\n ignore-check-state: true # 微信小程序,不会使用到 state,所以不进行校验\r\n WECHAT_MP: # 微信公众号\r\n client-id: ${wx.mp.app-id}\r\n client-secret: ${wx.mp.secret}\r\n ignore-check-redirect-uri: true\r\n cache:\r\n type: REDIS\r\n prefix: \'social_auth_state:\' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE::\r\n timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟\r\n', 'c26b5f86e4218b1db4d3870d7d8a125b', '2024-07-25 08:37:42', '2024-07-25 08:37:42', 'nacos', '172.16.0.6', 'system-server', 'test', NULL, NULL, NULL, 'yaml', NULL, '');
| INSERT INTO `config_info` VALUES (86, 'model-server-test.yaml', 'DEFAULT_GROUP', '--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.100:3306/iailab_ntt_model?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/iailab_ntt_model?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://127.0.0.1:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.system.dal.mysql: debug\r\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\r\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n is-dev: y\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n captcha:\r\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\r\n security:\r\n mock-enable: true\r\n xss:\r\n enable: false\r\n exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系\r\n - ${spring.boot.admin.context-path}/** # 不处理 Spring Boot Admin 的请求\r\n - ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n demo: false # 关闭演示模式\r\n\r\n\r\noadp:\r\n domain: http://172.16.1.148:6010\r\n\r\ninflux-db:\r\n org: IAILab\r\n bucket: whs_data\r\n token: 0p9sXgDxo4hyZ-hxhV7behQkto-8rD5GD0mTKb66_FHaDn_NoE1zusCP8fJznwfTdpttAjj7bEOeNrpt7cbRQw==\r\n url: http://localhost:8086\r\n\r\niems:\r\n upload: C:/DLUT/nginx/static/knowledge\r\n\r\ndata:\r\n domain: http://172.16.8.100:8980', '565ea136d06c02ff547f95be35df04f4', '2024-07-25 08:47:42', '2024-07-25 08:47:42', 'nacos', '172.16.0.6', 'model-server', 'test', NULL, NULL, NULL, 'yaml', NULL, '');
| INSERT INTO `config_info` VALUES (87, 'report-server-test.yaml', 'DEFAULT_GROUP', '--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.100:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://172.16.8.100:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.report.dal.mysql: debug\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n security:\r\n mock-enable: true\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n', 'ff39f212949a723b6b7ef46bb325dce0', '2024-07-25 08:48:48', '2024-07-25 08:48:48', 'nacos', '172.16.0.6', 'report-server', 'test', NULL, NULL, NULL, 'yaml', NULL, '');
| INSERT INTO `config_info` VALUES (88, 'data-server-test.yaml', 'DEFAULT_GROUP', '--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.100:3306/iailab_ntt_data?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://172.16.8.100:3306/iailab_ntt_data?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n# rocketmq 配置项,对应 RocketMQProperties 配置类\r\nrocketmq:\r\n name-server: 172.16.8.100:9876 # RocketMQ Namesrv\r\n\r\nspring:\r\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\r\n rabbitmq:\r\n host: 172.16.8.100 # RabbitMQ 服务的地址\r\n port: 5672 # RabbitMQ 服务的端口\r\n username: guest # RabbitMQ 服务的账号\r\n password: guest # RabbitMQ 服务的密码\r\n # Kafka 配置项,对应 KafkaProperties 配置类\r\n kafka:\r\n bootstrap-servers: 172.16.8.100:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.system.dal.mysql: debug\r\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\r\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n captcha:\r\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\r\n security:\r\n mock-enable: true\r\n xss:\r\n enable: false\r\n exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系\r\n - ${spring.boot.admin.context-path}/** # 不处理 Spring Boot Admin 的请求\r\n - ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n demo: false # 关闭演示模式\r\n\r\ninflux-db:\r\n org: IAILab\r\n bucket: whs_data\r\n token: gxhXM4H1VOBv07kYXKWyPag_zJ8_oChP4ooZ3u-BkSae9LS8R1wWzJYlmUjL3Qe9t1hDU3DtoYD5HTgjWoTGOg==\r\n url: http://localhost:8086\r\n\r\niems:\r\n upload-dir: D:/DLUT/upload/\r\n', '28f8222d02066ba163b61c389604de0c', '2024-07-25 08:50:03', '2024-07-25 08:50:03', 'nacos', '172.16.0.6', 'data-server', 'test', NULL, NULL, NULL, 'yaml', NULL, '');
| INSERT INTO `config_info` VALUES (89, 'bpm-server-test.yaml', 'DEFAULT_GROUP', '--- #################### 数据库相关配置 ####################\nspring:\n # 数据源配置项\n autoconfigure:\n exclude:\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\n datasource:\n druid: # Druid 【监控】相关的全局配置\n web-stat-filter:\n enabled: true\n stat-view-servlet:\n enabled: true\n allow: # 设置白名单,不填则允许所有访问\n url-pattern: /druid/*\n login-username: # 控制台管理用户名和密码\n login-password:\n filter:\n stat:\n enabled: true\n log-slow-sql: true # 慢 SQL 记录\n slow-sql-millis: 100\n merge-sql: true\n wall:\n config:\n multi-statement-allow: true\n dynamic: # 多数据源配置\n druid: # Druid 【连接池】相关的全局配置\n initial-size: 1 # 初始连接数\n min-idle: 1 # 最小连接池数量\n max-active: 20 # 最大连接池数量\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\n test-while-idle: true\n test-on-borrow: false\n test-on-return: false\n primary: master\n datasource:\n master:\n url: jdbc:mysql://172.16.8.1003306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\n # url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\n username: root\n password: 123456\n # username: sa # SQL Server 连接的示例\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\n # username: SYSDBA # DM 连接的示例\n # password: SYSDBA # DM 连接的示例\n slave: # 模拟从库,可根据自己需要修改\n lazy: true # 开启懒加载,保证启动速度\n url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\n username: root\n password: 123456\n\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\n redis:\n host: 172.16.8.100 # 地址\n port: 6379 # 端口\n database: 0 # 数据库索引\n password: 123456 # 密码,建议生产环境开启\n\n--- #################### MQ 消息队列相关配置 ####################\n\n--- #################### 定时任务相关配置 ####################\n\nxxl:\n job:\n enabled: true # 是否开启调度中心,默认为 true 开启\n admin:\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\n\n--- #################### 服务保障相关配置 ####################\n\n# Lock4j 配置项\nlock4j:\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\n\n--- #################### 监控相关配置 ####################\n\n# Actuator 监控端点的配置项\nmanagement:\n endpoints:\n web:\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\n exposure:\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\n\n# Spring Boot Admin 配置项\nspring:\n boot:\n admin:\n # Spring Boot Admin Client 客户端的相关配置\n client:\n instance:\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\n\n# 日志文件配置\nlogging:\n level:\n # 配置自己写的 MyBatis Mapper 打印日志\n com.iailab.module.bpm.dal.mysql: info\n\n--- #################### 平台相关配置 ####################\n\n# 平台配置项,设置当前项目所有自定义的配置\niailab:\n env: # 多环境的配置项\n tag: ${HOSTNAME}\n security:\n mock-enable: true\n access-log: # 访问日志的配置项\n enable: false\n demo: false # 关闭演示模式\n', '3a20eadb2c806df2422d37530cfa5114', '2024-07-25 08:52:19', '2024-07-25 08:59:32', 'nacos', '172.16.0.6', 'bpm-server', 'test', '', '', '', 'yaml', '', '');
| INSERT INTO `config_info` VALUES (90, 'infra-server-dev.yaml', 'DEFAULT_GROUP', '--- #################### 数据库相关配置 ####################\nspring:\n\n # 数据源配置项\n autoconfigure:\n exclude:\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\n# - de.codecentric.boot.admin.server.config.AdminServerAutoConfiguration # 禁用 Spring Boot Admin 的 Server 的自动配置\n# - de.codecentric.boot.admin.server.cloud.config.AdminServerDiscoveryAutoConfiguration # 禁用 Spring Boot Admin 的 Server 的自动配置\n# - de.codecentric.boot.admin.server.ui.config.AdminServerUiAutoConfiguration # 禁用 Spring Boot Admin 的 Server UI 的自动配置\n# - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\n datasource:\n druid: # Druid 【监控】相关的全局配置\n web-stat-filter:\n enabled: true\n stat-view-servlet:\n enabled: true\n allow: # 设置白名单,不填则允许所有访问\n url-pattern: /druid/*\n login-username: # 控制台管理用户名和密码\n login-password:\n filter:\n stat:\n enabled: true\n log-slow-sql: true # 慢 SQL 记录\n slow-sql-millis: 100\n merge-sql: true\n wall:\n config:\n multi-statement-allow: true\n dynamic: # 多数据源配置\n druid: # Druid 【连接池】相关的全局配置\n initial-size: 1 # 初始连接数\n min-idle: 1 # 最小连接池数量\n max-active: 20 # 最大连接池数量\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\n test-while-idle: true\n test-on-borrow: false\n test-on-return: false\n primary: master\n datasource:\n master:\n url: jdbc:mysql://172.16.8.100:3306/iailab-plat?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\n # url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\n username: root\n password: 123456\n # username: sa # SQL Server 连接的示例\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\n # username: SYSDBA # DM 连接的示例\n # password: SYSDBA # DM 连接的示例\n slave: # 模拟从库,可根据自己需要修改\n lazy: true # 开启懒加载,保证启动速度\n url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\n username: root\n password: 123456\n\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\n redis:\n host: 172.16.8.100 # 地址\n port: 6379 # 端口\n database: 0 # 数据库索引\n password: 123456 # 密码,建议生产环境开启\n\n--- #################### MQ 消息队列相关配置 ####################\n\n# rocketmq 配置项,对应 RocketMQProperties 配置类\nrocketmq:\n name-server: 172.16.8.100:9876 # RocketMQ Namesrv\n\nspring:\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\n rabbitmq:\n host: 172.16.8.100 # RabbitMQ 服务的地址\n port: 5672 # RabbitMQ 服务的端口\n username: guest # RabbitMQ 服务的账号\n password: guest # RabbitMQ 服务的密码\n # Kafka 配置项,对应 KafkaProperties 配置类\n kafka:\n bootstrap-servers: 172.16.8.100:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\n\n--- #################### 定时任务相关配置 ####################\nxxl:\n job:\n enabled: false # 是否开启调度中心,默认为 true 开启\n admin:\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\n\n--- #################### 服务保障相关配置 ####################\n\n# Lock4j 配置项\nlock4j:\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\n\n--- #################### 监控相关配置 ####################\n\n# Actuator 监控端点的配置项\nmanagement:\n endpoints:\n web:\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\n exposure:\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\n\n# Spring Boot Admin 配置项\nspring:\n boot:\n admin:\n # Spring Boot Admin Client 客户端的相关配置\n client:\n instance:\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\n # Spring Boot Admin Server 服务端的相关配置\n context-path: /admin # 配置 Spring\n\n# 日志文件配置\nlogging:\n level:\n # 配置自己写的 MyBatis Mapper 打印日志\n com.iailab.module.infra.dal.mysql: debug\n com.iailab.module.infra.dal.mysql.logger.ApiErrorLogMapper: INFO # 配置 ApiErrorLogMapper 的日志级别为 info,避免和 GlobalExceptionHandler 重复打印\n com.iailab.module.infra.dal.mysql.file.FileConfigMapper: INFO # 配置 FileConfigMapper 的日志级别为 info\n\n--- #################### 平台相关配置 ####################\n\n# 平台配置项,设置当前项目所有自定义的配置\niailab:\n env: # 多环境的配置项\n tag: ${HOSTNAME}\n security:\n mock-enable: true\n access-log: # 访问日志的配置项\n enable: false\n', '44497b0ce32f6fb5cbeb41e08adcc6cb', '2024-07-25 08:37:01', '2024-08-08 00:29:02', 'nacos', '0:0:0:0:0:0:0:1', 'infra-server', 'dev', '', '', '', 'yaml', '', '');
| INSERT INTO `config_info` VALUES (91, 'system-server-dev.yaml', 'DEFAULT_GROUP', '--- #################### 数据库相关配置 ####################\nspring:\n # 数据源配置项\n autoconfigure:\n exclude:\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\n datasource:\n druid: # Druid 【监控】相关的全局配置\n web-stat-filter:\n enabled: true\n stat-view-servlet:\n enabled: true\n allow: # 设置白名单,不填则允许所有访问\n url-pattern: /druid/*\n login-username: # 控制台管理用户名和密码\n login-password:\n filter:\n stat:\n enabled: true\n log-slow-sql: true # 慢 SQL 记录\n slow-sql-millis: 100\n merge-sql: true\n wall:\n config:\n multi-statement-allow: true\n dynamic: # 多数据源配置\n druid: # Druid 【连接池】相关的全局配置\n initial-size: 1 # 初始连接数\n min-idle: 1 # 最小连接池数量\n max-active: 20 # 最大连接池数量\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\n test-while-idle: true\n test-on-borrow: false\n test-on-return: false\n primary: master\n datasource:\n master:\n url: jdbc:mysql://172.16.8.100:3306/iailab-plat?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\n username: root\n password: 123456\n # username: sa # SQL Server 连接的示例\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\n # username: SYSDBA # DM 连接的示例\n # password: SYSDBA # DM 连接的示例\n slave: # 模拟从库,可根据自己需要修改\n lazy: true # 开启懒加载,保证启动速度\n url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\n username: root\n password: 123456\n\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\n redis:\n host: 172.16.8.100 # 地址\n port: 6379 # 端口\n database: 0 # 数据库索引\n password: 123456 # 密码,建议生产环境开启\n\n--- #################### MQ 消息队列相关配置 ####################\n\n# rocketmq 配置项,对应 RocketMQProperties 配置类\nrocketmq:\n name-server: 172.16.8.100:9876 # RocketMQ Namesrv\n\nspring:\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\n rabbitmq:\n host: 172.16.8.100 # RabbitMQ 服务的地址\n port: 5672 # RabbitMQ 服务的端口\n username: guest # RabbitMQ 服务的账号\n password: guest # RabbitMQ 服务的密码\n # Kafka 配置项,对应 KafkaProperties 配置类\n kafka:\n bootstrap-servers: 172.16.8.100:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\n\n--- #################### 定时任务相关配置 ####################\n\nxxl:\n job:\n enabled: true # 是否开启调度中心,默认为 true 开启\n admin:\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\n\n--- #################### 服务保障相关配置 ####################\n\n# Lock4j 配置项\nlock4j:\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\n\n--- #################### 监控相关配置 ####################\n\n# Actuator 监控端点的配置项\nmanagement:\n endpoints:\n web:\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\n exposure:\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\n\n# Spring Boot Admin 配置项\nspring:\n boot:\n admin:\n # Spring Boot Admin Client 客户端的相关配置\n client:\n instance:\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\n\n# 日志文件配置\nlogging:\n level:\n # 配置自己写的 MyBatis Mapper 打印日志\n com.iailab.module.system.dal.mysql: debug\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\n #org.springframework.context.support.PostProcessorRegistrationDelegate: ERROR # TODO 芋艿:先禁用,Spring Boot 3.X 存在部分错误的 WARN 提示\n\n--- #################### 微信公众号、小程序相关配置 ####################\nwx:\n mp: # 公众号配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-mp-spring-boot-starter/README.md 文档\n # app-id: wx041349c6f39b268b\n # secret: 5abee519483bc9f8cb37ce280e814bd0\n app-id: wx5b23ba7a5589ecbb # 测试号\n secret: 2a7b3b20c537e52e74afd395eb85f61f\n # 存储配置,解决 AccessToken 的跨节点的共享\n config-storage:\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\n key-prefix: wx # Redis Key 的前缀\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\n miniapp: # 小程序配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-miniapp-spring-boot-starter/README.md 文档\n # appid: wx62056c0d5e8db250\n # secret: 333ae72f41552af1e998fe1f54e1584a\n appid: wx63c280fe3248a3e7 # wenhualian的接口测试号\n secret: 6f270509224a7ae1296bbf1c8cb97aed\n config-storage:\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\n key-prefix: wa # Redis Key 的前缀\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\n\n--- #################### 平台相关配置 ####################\n\n# 平台配置项,设置当前项目所有自定义的配置\niailab:\n env: # 多环境的配置项\n tag: ${HOSTNAME}\n captcha:\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\n security:\n mock-enable: true\n access-log: # 访问日志的配置项\n enable: false\n\njustauth:\n enabled: true\n type:\n DINGTALK: # 钉钉\n client-id: dingvrnreaje3yqvzhxg\n client-secret: i8E6iZyDvZj51JIb0tYsYfVQYOks9Cq1lgryEjFRqC79P3iJcrxEwT6Qk2QvLrLI\n ignore-check-redirect-uri: true\n WECHAT_ENTERPRISE: # 企业微信\n client-id: wwd411c69a39ad2e54\n client-secret: 1wTb7hYxnpT2TUbIeHGXGo7T0odav1ic10mLdyyATOw\n agent-id: 1000004\n ignore-check-redirect-uri: true\n # noinspection SpringBootApplicationYaml\n WECHAT_MINI_APP: # 微信小程序\n client-id: ${wx.miniapp.appid}\n client-secret: ${wx.miniapp.secret}\n ignore-check-redirect-uri: true\n ignore-check-state: true # 微信小程序,不会使用到 state,所以不进行校验\n WECHAT_MP: # 微信公众号\n client-id: ${wx.mp.app-id}\n client-secret: ${wx.mp.secret}\n ignore-check-redirect-uri: true\n cache:\n type: REDIS\n prefix: \'social_auth_state:\' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE::\n timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟\n', 'c6fd9a9a70c85745654dc6ca19ac135a', '2024-07-25 08:37:42', '2024-08-08 00:28:40', 'nacos', '0:0:0:0:0:0:0:1', 'system-server', 'dev', '', '', '', 'yaml', '', '');
| INSERT INTO `config_info` VALUES (92, 'model-server-dev.yaml', 'DEFAULT_GROUP', '--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.100:3306/iailab_ntt_model?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/iailab_ntt_model?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://127.0.0.1:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.system.dal.mysql: debug\r\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\r\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n is-dev: y\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n captcha:\r\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\r\n security:\r\n mock-enable: true\r\n xss:\r\n enable: false\r\n exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系\r\n - ${spring.boot.admin.context-path}/** # 不处理 Spring Boot Admin 的请求\r\n - ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n demo: false # 关闭演示模式\r\n\r\n\r\noadp:\r\n domain: http://172.16.1.148:6010\r\n\r\ninflux-db:\r\n org: IAILab\r\n bucket: whs_data\r\n token: 0p9sXgDxo4hyZ-hxhV7behQkto-8rD5GD0mTKb66_FHaDn_NoE1zusCP8fJznwfTdpttAjj7bEOeNrpt7cbRQw==\r\n url: http://localhost:8086\r\n\r\niems:\r\n upload: C:/DLUT/nginx/static/knowledge\r\n\r\ndata:\r\n domain: http://172.16.8.100:8980', '565ea136d06c02ff547f95be35df04f4', '2024-07-25 08:47:42', '2024-07-25 08:47:42', 'nacos', '172.16.0.6', 'model-server', 'dev', NULL, NULL, NULL, 'yaml', NULL, '');
| INSERT INTO `config_info` VALUES (93, 'report-server-dev.yaml', 'DEFAULT_GROUP', '--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.100:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://172.16.8.100:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.report.dal.mysql: debug\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n security:\r\n mock-enable: true\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n', 'ff39f212949a723b6b7ef46bb325dce0', '2024-07-25 08:48:48', '2024-07-25 08:48:48', 'nacos', '172.16.0.6', 'report-server', 'dev', NULL, NULL, NULL, 'yaml', NULL, '');
| INSERT INTO `config_info` VALUES (94, 'data-server-dev.yaml', 'DEFAULT_GROUP', '--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.100:3306/iailab_ntt_data?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://172.16.8.100:3306/iailab_ntt_data?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n# rocketmq 配置项,对应 RocketMQProperties 配置类\r\nrocketmq:\r\n name-server: 172.16.8.100:9876 # RocketMQ Namesrv\r\n\r\nspring:\r\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\r\n rabbitmq:\r\n host: 172.16.8.100 # RabbitMQ 服务的地址\r\n port: 5672 # RabbitMQ 服务的端口\r\n username: guest # RabbitMQ 服务的账号\r\n password: guest # RabbitMQ 服务的密码\r\n # Kafka 配置项,对应 KafkaProperties 配置类\r\n kafka:\r\n bootstrap-servers: 172.16.8.100:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.system.dal.mysql: debug\r\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\r\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n captcha:\r\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\r\n security:\r\n mock-enable: true\r\n xss:\r\n enable: false\r\n exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系\r\n - ${spring.boot.admin.context-path}/** # 不处理 Spring Boot Admin 的请求\r\n - ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n demo: false # 关闭演示模式\r\n\r\ninflux-db:\r\n org: IAILab\r\n bucket: whs_data\r\n token: gxhXM4H1VOBv07kYXKWyPag_zJ8_oChP4ooZ3u-BkSae9LS8R1wWzJYlmUjL3Qe9t1hDU3DtoYD5HTgjWoTGOg==\r\n url: http://localhost:8086\r\n\r\niems:\r\n upload-dir: D:/DLUT/upload/\r\n', '28f8222d02066ba163b61c389604de0c', '2024-07-25 08:50:03', '2024-07-25 08:50:03', 'nacos', '172.16.0.6', 'data-server', 'dev', NULL, NULL, NULL, 'yaml', NULL, '');
| INSERT INTO `config_info` VALUES (95, 'bpm-server-dev.yaml', 'DEFAULT_GROUP', 'spring:\n # 数据源配置项\n autoconfigure:\n exclude:\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\n datasource:\n druid: # Druid 【监控】相关的全局配置\n web-stat-filter:\n enabled: true\n stat-view-servlet:\n enabled: true\n allow: # 设置白名单,不填则允许所有访问\n url-pattern: /druid/*\n login-username: # 控制台管理用户名和密码\n login-password:\n filter:\n stat:\n enabled: true\n log-slow-sql: true # 慢 SQL 记录\n slow-sql-millis: 100\n merge-sql: true\n wall:\n config:\n multi-statement-allow: true\n dynamic: # 多数据源配置\n druid: # Druid 【连接池】相关的全局配置\n initial-size: 1 # 初始连接数\n min-idle: 1 # 最小连接池数量\n max-active: 20 # 最大连接池数量\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\n test-while-idle: true\n test-on-borrow: false\n test-on-return: false\n primary: master\n datasource:\n master:\n url: jdbc:mysql://172.16.8.100:3306/iailab-plat?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\n # url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\n username: root\n password: 123456\n # username: sa # SQL Server 连接的示例\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\n # username: SYSDBA # DM 连接的示例\n # password: SYSDBA # DM 连接的示例\n slave: # 模拟从库,可根据自己需要修改\n lazy: true # 开启懒加载,保证启动速度\n url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\n username: root\n password: 123456\n\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\n redis:\n host: 172.16.8.100 # 地址\n port: 6379 # 端口\n database: 0 # 数据库索引\n password: 123456 # 密码,建议生产环境开启\n\n--- #################### MQ 消息队列相关配置 ####################\n\n--- #################### 定时任务相关配置 ####################\n\nxxl:\n job:\n enabled: true # 是否开启调度中心,默认为 true 开启\n admin:\n addresses: http://127.0.0.1:9090/xxl-job-admin # 调度中心部署跟地址\n\n--- #################### 服务保障相关配置 ####################\n\n# Lock4j 配置项\nlock4j:\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\n\n--- #################### 监控相关配置 ####################\n\n# Actuator 监控端点的配置项\nmanagement:\n endpoints:\n web:\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\n exposure:\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\n\n# Spring Boot Admin 配置项\nspring:\n boot:\n admin:\n # Spring Boot Admin Client 客户端的相关配置\n client:\n instance:\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\n\n# 日志文件配置\nlogging:\n level:\n # 配置自己写的 MyBatis Mapper 打印日志\n com.iailab.module.bpm.dal.mysql: info\n\n--- #################### 平台相关配置 ####################\n\n# 平台配置项,设置当前项目所有自定义的配置\niailab:\n env: # 多环境的配置项\n tag: ${HOSTNAME}\n security:\n mock-enable: true\n access-log: # 访问日志的配置项\n enable: false\n demo: false # 关闭演示模式\n', '1b3fc3f904d573c55b2277e48ada7e22', '2024-07-25 08:52:19', '2024-08-08 00:29:17', 'nacos', '0:0:0:0:0:0:0:1', 'bpm-server', 'dev', '', '', '', 'yaml', '', '');
|
| -- ----------------------------
| -- Table structure for config_info_aggr
| -- ----------------------------
| DROP TABLE IF EXISTS `config_info_aggr`;
| CREATE TABLE `config_info_aggr` (
| `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
| `data_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'data_id',
| `group_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'group_id',
| `datum_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'datum_id',
| `content` longtext CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '内容',
| `gmt_modified` datetime NOT NULL COMMENT '修改时间',
| `app_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
| `tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT '租户字段',
| PRIMARY KEY (`id`) USING BTREE,
| UNIQUE INDEX `uk_configinfoaggr_datagrouptenantdatum`(`data_id` ASC, `group_id` ASC, `tenant_id` ASC, `datum_id` ASC) USING BTREE
| ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '增加租户字段' ROW_FORMAT = DYNAMIC;
|
| -- ----------------------------
| -- Records of config_info_aggr
| -- ----------------------------
|
| -- ----------------------------
| -- Table structure for config_info_beta
| -- ----------------------------
| DROP TABLE IF EXISTS `config_info_beta`;
| CREATE TABLE `config_info_beta` (
| `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
| `data_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'data_id',
| `group_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'group_id',
| `app_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'app_name',
| `content` longtext CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'content',
| `beta_ips` varchar(1024) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'betaIps',
| `md5` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'md5',
| `gmt_create` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '创建时间',
| `gmt_modified` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '修改时间',
| `src_user` text CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT 'source user',
| `src_ip` varchar(20) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'source ip',
| `tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT '租户字段',
| `encrypted_data_key` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '加密key',
| PRIMARY KEY (`id`) USING BTREE,
| UNIQUE INDEX `uk_configinfobeta_datagrouptenant`(`data_id` ASC, `group_id` ASC, `tenant_id` ASC) USING BTREE
| ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = 'config_info_beta' ROW_FORMAT = DYNAMIC;
|
| -- ----------------------------
| -- Records of config_info_beta
| -- ----------------------------
|
| -- ----------------------------
| -- Table structure for config_info_tag
| -- ----------------------------
| DROP TABLE IF EXISTS `config_info_tag`;
| CREATE TABLE `config_info_tag` (
| `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
| `data_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'data_id',
| `group_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'group_id',
| `tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT 'tenant_id',
| `tag_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'tag_id',
| `app_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'app_name',
| `content` longtext CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'content',
| `md5` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'md5',
| `gmt_create` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '创建时间',
| `gmt_modified` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '修改时间',
| `src_user` text CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT 'source user',
| `src_ip` varchar(20) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'source ip',
| `encrypted_data_key` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '加密key',
| PRIMARY KEY (`id`) USING BTREE,
| UNIQUE INDEX `uk_configinfotag_datagrouptenanttag`(`data_id` ASC, `group_id` ASC, `tenant_id` ASC, `tag_id` ASC) USING BTREE
| ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = 'config_info_tag' ROW_FORMAT = DYNAMIC;
|
| -- ----------------------------
| -- Records of config_info_tag
| -- ----------------------------
|
| -- ----------------------------
| -- Table structure for config_tags_relation
| -- ----------------------------
| DROP TABLE IF EXISTS `config_tags_relation`;
| CREATE TABLE `config_tags_relation` (
| `id` bigint NOT NULL COMMENT 'id',
| `tag_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'tag_name',
| `tag_type` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'tag_type',
| `data_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'data_id',
| `group_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'group_id',
| `tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT 'tenant_id',
| `nid` bigint NOT NULL AUTO_INCREMENT,
| PRIMARY KEY (`nid`) USING BTREE,
| UNIQUE INDEX `uk_configtagrelation_configidtag`(`id` ASC, `tag_name` ASC, `tag_type` ASC) USING BTREE,
| INDEX `idx_tenant_id`(`tenant_id` ASC) USING BTREE
| ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = 'config_tag_relation' ROW_FORMAT = DYNAMIC;
|
| -- ----------------------------
| -- Records of config_tags_relation
| -- ----------------------------
|
| -- ----------------------------
| -- Table structure for group_capacity
| -- ----------------------------
| DROP TABLE IF EXISTS `group_capacity`;
| CREATE TABLE `group_capacity` (
| `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键ID',
| `group_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT 'Group ID,空字符表示整个集群',
| `quota` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '配额,0表示使用默认值',
| `usage` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '使用量',
| `max_size` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '单个配置大小上限,单位为字节,0表示使用默认值',
| `max_aggr_count` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '聚合子配置最大个数,,0表示使用默认值',
| `max_aggr_size` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '单个聚合数据的子配置大小上限,单位为字节,0表示使用默认值',
| `max_history_count` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '最大变更历史数量',
| `gmt_create` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '创建时间',
| `gmt_modified` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '修改时间',
| PRIMARY KEY (`id`) USING BTREE,
| UNIQUE INDEX `uk_group_id`(`group_id` ASC) USING BTREE
| ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '集群、各Group容量信息表' ROW_FORMAT = DYNAMIC;
|
| -- ----------------------------
| -- Records of group_capacity
| -- ----------------------------
|
| -- ----------------------------
| -- Table structure for his_config_info
| -- ----------------------------
| DROP TABLE IF EXISTS `his_config_info`;
| CREATE TABLE `his_config_info` (
| `id` bigint UNSIGNED NOT NULL,
| `nid` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
| `data_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
| `group_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
| `app_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'app_name',
| `content` longtext CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
| `md5` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
| `gmt_create` datetime NOT NULL DEFAULT '2010-05-05 00:00:00',
| `gmt_modified` datetime NOT NULL DEFAULT '2010-05-05 00:00:00',
| `src_user` text CHARACTER SET utf8 COLLATE utf8_bin NULL,
| `src_ip` varchar(20) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
| `op_type` char(10) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
| `tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT '租户字段',
| `encrypted_data_key` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '加密key',
| PRIMARY KEY (`nid`) USING BTREE,
| INDEX `idx_gmt_create`(`gmt_create` ASC) USING BTREE,
| INDEX `idx_gmt_modified`(`gmt_modified` ASC) USING BTREE,
| INDEX `idx_did`(`data_id` ASC) USING BTREE
| ) ENGINE = InnoDB AUTO_INCREMENT = 144 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '多租户改造' ROW_FORMAT = DYNAMIC;
|
| -- ----------------------------
| -- Records of his_config_info
| -- ----------------------------
| INSERT INTO `his_config_info` VALUES (0, 109, 'model-server-local.yaml', 'DEFAULT_GROUP', '', '--- #################### 注册中心 + 配置中心相关配置 ####################\r\n\r\nspring:\r\n cloud:\r\n nacos:\r\n server-addr: @nacos.server@ # Nacos 服务器地址\r\n username: @nacos.username@\r\n password: @nacos.password@\r\n discovery: # 【配置中心】配置项\r\n namespace: @nacos.namespace@ # 命名空间。这里使用 dev 开发环境\r\n group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP\r\n metadata:\r\n version: @nacos.metadata.version@ # 服务实例的版本号,可用于灰度发布\r\n config: # 【注册中心】配置项\r\n namespace: @nacos.namespace@ # 命名空间。这里使用 dev 开发环境\r\n group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP\r\n\r\n--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://127.0.0.1:3306/iailab_ntt_model?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/iailab_ntt_model?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://127.0.0.1:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.system.dal.mysql: debug\r\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\r\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n is-dev: y\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n captcha:\r\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\r\n security:\r\n mock-enable: true\r\n xss:\r\n enable: false\r\n exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系\r\n - ${spring.boot.admin.context-path}/** # 不处理 Spring Boot Admin 的请求\r\n - ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n demo: false # 关闭演示模式\r\n\r\n\r\noadp:\r\n domain: http://172.16.1.148:6010\r\n\r\ninflux-db:\r\n org: IAILab\r\n bucket: whs_data\r\n token: 0p9sXgDxo4hyZ-hxhV7behQkto-8rD5GD0mTKb66_FHaDn_NoE1zusCP8fJznwfTdpttAjj7bEOeNrpt7cbRQw==\r\n url: http://localhost:8086\r\n\r\niems:\r\n upload: C:/DLUT/nginx/static/knowledge\r\n\r\ndata:\r\n domain: http://127.0.0.1:8980\r\n\r\n\r\n\r\n', 'a4e76876139eef48f15daeb2658cd0c6', '2010-05-05 00:00:00', '2024-07-23 05:50:06', 'nacos', '0:0:0:0:0:0:0:1', 'I', 'a7112341-c9e2-4177-bc5b-0d2e8cf0b3bb', '');
| INSERT INTO `his_config_info` VALUES (0, 110, 'data-server-local.yaml', 'DEFAULT_GROUP', '', '--- #################### 注册中心 + 配置中心相关配置 ####################\r\n\r\nspring:\r\n cloud:\r\n nacos:\r\n server-addr: @nacos.server@ # Nacos 服务器地址\r\n username: @nacos.username@\r\n password: @nacos.password@\r\n discovery: # 【配置中心】配置项\r\n namespace: @nacos.namespace@ # 命名空间。这里使用 dev 开发环境\r\n group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP\r\n metadata:\r\n version: @nacos.metadata.version@ # 服务实例的版本号,可用于灰度发布\r\n config: # 【注册中心】配置项\r\n namespace: @nacos.namespace@ # 命名空间。这里使用 dev 开发环境\r\n group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP\r\n\r\n--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://127.0.0.1:3306/iailab_ntt_data?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/iailab_ntt_data?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n# rocketmq 配置项,对应 RocketMQProperties 配置类\r\nrocketmq:\r\n name-server: 127.0.0.1:9876 # RocketMQ Namesrv\r\n\r\nspring:\r\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\r\n rabbitmq:\r\n host: 127.0.0.1 # RabbitMQ 服务的地址\r\n port: 5672 # RabbitMQ 服务的端口\r\n username: guest # RabbitMQ 服务的账号\r\n password: guest # RabbitMQ 服务的密码\r\n # Kafka 配置项,对应 KafkaProperties 配置类\r\n kafka:\r\n bootstrap-servers: 127.0.0.1:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://127.0.0.1:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.system.dal.mysql: debug\r\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\r\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n captcha:\r\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\r\n security:\r\n mock-enable: true\r\n xss:\r\n enable: false\r\n exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系\r\n - ${spring.boot.admin.context-path}/** # 不处理 Spring Boot Admin 的请求\r\n - ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n demo: false # 关闭演示模式\r\n\r\ninflux-db:\r\n org: IAILab\r\n bucket: whs_data\r\n token: gxhXM4H1VOBv07kYXKWyPag_zJ8_oChP4ooZ3u-BkSae9LS8R1wWzJYlmUjL3Qe9t1hDU3DtoYD5HTgjWoTGOg==\r\n url: http://localhost:8086\r\n\r\niems:\r\n upload-dir: D:/DLUT/upload/\r\n', '969642c772e2840f730f055b17ee5c13', '2010-05-05 00:00:00', '2024-07-23 05:53:19', 'nacos', '0:0:0:0:0:0:0:1', 'I', 'a7112341-c9e2-4177-bc5b-0d2e8cf0b3bb', '');
| INSERT INTO `his_config_info` VALUES (0, 111, 'system-server-test.yaml', 'DEFAULT_GROUP', '', '--- #################### 注册中心 + 配置中心相关配置 ####################\r\n\r\nspring:\r\n cloud:\r\n nacos:\r\n server-addr: @nacos.server@ # Nacos 服务器地址\r\n username: @nacos.username@\r\n password: @nacos.password@\r\n discovery: # 【配置中心】配置项\r\n namespace: @nacos.namespace@ # 命名空间。这里使用 dev 开发环境\r\n group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP\r\n metadata:\r\n version: @nacos.metadata.version@ # 服务实例的版本号,可用于灰度发布\r\n config: # 【注册中心】配置项\r\n namespace: @nacos.namespace@ # 命名空间。这里使用 dev 开发环境\r\n group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP\r\n\r\n--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.100:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n# rocketmq 配置项,对应 RocketMQProperties 配置类\r\nrocketmq:\r\n name-server: 172.16.8.100:9876 # RocketMQ Namesrv\r\n\r\nspring:\r\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\r\n rabbitmq:\r\n host: 172.16.8.100 # RabbitMQ 服务的地址\r\n port: 5672 # RabbitMQ 服务的端口\r\n username: guest # RabbitMQ 服务的账号\r\n password: guest # RabbitMQ 服务的密码\r\n # Kafka 配置项,对应 KafkaProperties 配置类\r\n kafka:\r\n bootstrap-servers: 172.16.8.100:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.system.dal.mysql: debug\r\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\r\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\r\n #org.springframework.context.support.PostProcessorRegistrationDelegate: ERROR # TODO 芋艿:先禁用,Spring Boot 3.X 存在部分错误的 WARN 提示\r\n\r\n--- #################### 微信公众号、小程序相关配置 ####################\r\nwx:\r\n mp: # 公众号配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-mp-spring-boot-starter/README.md 文档\r\n # app-id: wx041349c6f39b268b\r\n # secret: 5abee519483bc9f8cb37ce280e814bd0\r\n app-id: wx5b23ba7a5589ecbb # 测试号\r\n secret: 2a7b3b20c537e52e74afd395eb85f61f\r\n # 存储配置,解决 AccessToken 的跨节点的共享\r\n config-storage:\r\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\r\n key-prefix: wx # Redis Key 的前缀\r\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\r\n miniapp: # 小程序配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-miniapp-spring-boot-starter/README.md 文档\r\n # appid: wx62056c0d5e8db250\r\n # secret: 333ae72f41552af1e998fe1f54e1584a\r\n appid: wx63c280fe3248a3e7 # wenhualian的接口测试号\r\n secret: 6f270509224a7ae1296bbf1c8cb97aed\r\n config-storage:\r\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\r\n key-prefix: wa # Redis Key 的前缀\r\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n captcha:\r\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\r\n security:\r\n mock-enable: true\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n\r\njustauth:\r\n enabled: true\r\n type:\r\n DINGTALK: # 钉钉\r\n client-id: dingvrnreaje3yqvzhxg\r\n client-secret: i8E6iZyDvZj51JIb0tYsYfVQYOks9Cq1lgryEjFRqC79P3iJcrxEwT6Qk2QvLrLI\r\n ignore-check-redirect-uri: true\r\n WECHAT_ENTERPRISE: # 企业微信\r\n client-id: wwd411c69a39ad2e54\r\n client-secret: 1wTb7hYxnpT2TUbIeHGXGo7T0odav1ic10mLdyyATOw\r\n agent-id: 1000004\r\n ignore-check-redirect-uri: true\r\n # noinspection SpringBootApplicationYaml\r\n WECHAT_MINI_APP: # 微信小程序\r\n client-id: ${wx.miniapp.appid}\r\n client-secret: ${wx.miniapp.secret}\r\n ignore-check-redirect-uri: true\r\n ignore-check-state: true # 微信小程序,不会使用到 state,所以不进行校验\r\n WECHAT_MP: # 微信公众号\r\n client-id: ${wx.mp.app-id}\r\n client-secret: ${wx.mp.secret}\r\n ignore-check-redirect-uri: true\r\n cache:\r\n type: REDIS\r\n prefix: \'social_auth_state:\' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE::\r\n timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟\r\n', '2b8bc2005b67b988422b39d6bfd77dd9', '2010-05-05 00:00:00', '2024-07-25 07:07:44', 'nacos', '172.16.0.6', 'I', 'a7112341-c9e2-4177-bc5b-0d2e8cf0b3bb', '');
| INSERT INTO `his_config_info` VALUES (0, 112, 'application-test.yaml', 'DEFAULT_GROUP', '', '--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 127.0.0.1 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n# rocketmq 配置项,对应 RocketMQProperties 配置类\r\nrocketmq:\r\n name-server: 127.0.0.1:9876 # RocketMQ Namesrv\r\n\r\nspring:\r\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\r\n rabbitmq:\r\n host: 127.0.0.1 # RabbitMQ 服务的地址\r\n port: 5672 # RabbitMQ 服务的端口\r\n username: guest # RabbitMQ 服务的账号\r\n password: guest # RabbitMQ 服务的密码\r\n # Kafka 配置项,对应 KafkaProperties 配置类\r\n kafka:\r\n bootstrap-servers: 127.0.0.1:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://127.0.0.1:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.system.dal.mysql: debug\r\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\r\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\r\n\r\n--- #################### 微信公众号、小程序相关配置 ####################\r\nwx:\r\n mp: # 公众号配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-mp-spring-boot-starter/README.md 文档\r\n # app-id: wx041349c6f39b268b # 测试号(牛希尧提供的)\r\n # secret: 5abee519483bc9f8cb37ce280e814bd0\r\n app-id: wx5b23ba7a5589ecbb # 测试号(自己的)\r\n secret: 2a7b3b20c537e52e74afd395eb85f61f\r\n # app-id: wxa69ab825b163be19 # 测试号(Kongdy 提供的)\r\n # secret: bd4f9fab889591b62aeac0d7b8d8b4a0\r\n # 存储配置,解决 AccessToken 的跨节点的共享\r\n config-storage:\r\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\r\n key-prefix: wx # Redis Key 的前缀\r\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\r\n miniapp: # 小程序配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-miniapp-spring-boot-starter/README.md 文档\r\n # appid: wx62056c0d5e8db250 # 测试号(牛希尧提供的)\r\n # secret: 333ae72f41552af1e998fe1f54e1584a\r\n appid: wx63c280fe3248a3e7 # wenhualian的接口测试号\r\n secret: 6f270509224a7ae1296bbf1c8cb97aed\r\n # appid: wxc4598c446f8a9cb3 # 测试号(Kongdy 提供的)\r\n # secret: 4a1a04e07f6a4a0751b39c3064a92c8b\r\n config-storage:\r\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\r\n key-prefix: wa # Redis Key 的前缀\r\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n captcha:\r\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\r\n security:\r\n mock-enable: true\r\n xss:\r\n enable: false\r\n exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系\r\n - ${spring.boot.admin.context-path}/** # 不处理 Spring Boot Admin 的请求\r\n - ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求\r\n pay:\r\n pay-notify-url: http://niubi.natapp1.cc/api/pay/order/notify\r\n pay-return-url: http://niubi.natapp1.cc/api/pay/order/return\r\n refund-notify-url: http://niubi.natapp1.cc/api/pay/refund/notify\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n demo: false # 关闭演示模式\r\n\r\njustauth:\r\n enabled: true\r\n type:\r\n DINGTALK: # 钉钉\r\n client-id: dingvrnreaje3yqvzhxg\r\n client-secret: i8E6iZyDvZj51JIb0tYsYfVQYOks9Cq1lgryEjFRqC79P3iJcrxEwT6Qk2QvLrLI\r\n ignore-check-redirect-uri: true\r\n WECHAT_ENTERPRISE: # 企业微信\r\n client-id: wwd411c69a39ad2e54\r\n client-secret: 1wTb7hYxnpT2TUbIeHGXGo7T0odav1ic10mLdyyATOw\r\n agent-id: 1000004\r\n ignore-check-redirect-uri: true\r\n # noinspection SpringBootApplicationYaml\r\n WECHAT_MINI_APP: # 微信小程序\r\n client-id: ${wx.miniapp.appid}\r\n client-secret: ${wx.miniapp.secret}\r\n ignore-check-redirect-uri: true\r\n ignore-check-state: true # 微信小程序,不会使用到 state,所以不进行校验\r\n WECHAT_MP: # 微信公众号\r\n client-id: ${wx.mp.app-id}\r\n client-secret: ${wx.mp.secret}\r\n ignore-check-redirect-uri: true\r\n cache:\r\n type: REDIS\r\n prefix: \'social_auth_state:\' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE::\r\n timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟\r\n', '243e6cccfb0d5d25340b52e4c5682f68', '2010-05-05 00:00:00', '2024-07-25 08:00:15', 'nacos', '172.16.0.6', 'I', 'a7112341-c9e2-4177-bc5b-0d2e8cf0b3bb', '');
| INSERT INTO `his_config_info` VALUES (56, 113, 'application-local.yaml', 'DEFAULT_GROUP', 'local-config', '--- #################### 数据库相关配置 ####################\nspring:\n # 数据源配置项\n autoconfigure:\n exclude:\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\n datasource:\n druid: # Druid 【监控】相关的全局配置\n web-stat-filter:\n enabled: true\n stat-view-servlet:\n enabled: true\n allow: # 设置白名单,不填则允许所有访问\n url-pattern: /druid/*\n login-username: # 控制台管理用户名和密码\n login-password:\n filter:\n stat:\n enabled: true\n log-slow-sql: true # 慢 SQL 记录\n slow-sql-millis: 100\n merge-sql: true\n wall:\n config:\n multi-statement-allow: true\n dynamic: # 多数据源配置\n druid: # Druid 【连接池】相关的全局配置\n initial-size: 1 # 初始连接数\n min-idle: 1 # 最小连接池数量\n max-active: 20 # 最大连接池数量\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\n test-while-idle: true\n test-on-borrow: false\n test-on-return: false\n primary: master\n datasource:\n master:\n url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\n username: root\n password: 123456\n # username: sa # SQL Server 连接的示例\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\n # username: SYSDBA # DM 连接的示例\n # password: SYSDBA # DM 连接的示例\n slave: # 模拟从库,可根据自己需要修改\n lazy: true # 开启懒加载,保证启动速度\n url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\n username: root\n password: 123456\n\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\n redis:\n host: 127.0.0.1 # 地址\n port: 6379 # 端口\n database: 0 # 数据库索引\n password: 123456 # 密码,建议生产环境开启\n\n--- #################### MQ 消息队列相关配置 ####################\n\n# rocketmq 配置项,对应 RocketMQProperties 配置类\nrocketmq:\n name-server: 127.0.0.1:9876 # RocketMQ Namesrv\n\nspring:\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\n rabbitmq:\n host: 127.0.0.1 # RabbitMQ 服务的地址\n port: 5672 # RabbitMQ 服务的端口\n username: guest # RabbitMQ 服务的账号\n password: guest # RabbitMQ 服务的密码\n # Kafka 配置项,对应 KafkaProperties 配置类\n kafka:\n bootstrap-servers: 127.0.0.1:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\n\n--- #################### 定时任务相关配置 ####################\n\nxxl:\n job:\n enabled: true # 是否开启调度中心,默认为 true 开启\n admin:\n addresses: http://127.0.0.1:9090/xxl-job-admin # 调度中心部署跟地址\n\n--- #################### 服务保障相关配置 ####################\n\n# Lock4j 配置项\nlock4j:\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\n\n--- #################### 监控相关配置 ####################\n\n# Actuator 监控端点的配置项\nmanagement:\n endpoints:\n web:\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\n exposure:\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\n\n# Spring Boot Admin 配置项\nspring:\n boot:\n admin:\n # Spring Boot Admin Client 客户端的相关配置\n client:\n instance:\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\n\n# 日志文件配置\nlogging:\n level:\n # 配置自己写的 MyBatis Mapper 打印日志\n com.iailab.module.system.dal.mysql: debug\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\n\n--- #################### 微信公众号、小程序相关配置 ####################\nwx:\n mp: # 公众号配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-mp-spring-boot-starter/README.md 文档\n # app-id: wx041349c6f39b268b # 测试号(牛希尧提供的)\n # secret: 5abee519483bc9f8cb37ce280e814bd0\n app-id: wx5b23ba7a5589ecbb # 测试号(自己的)\n secret: 2a7b3b20c537e52e74afd395eb85f61f\n # app-id: wxa69ab825b163be19 # 测试号(Kongdy 提供的)\n # secret: bd4f9fab889591b62aeac0d7b8d8b4a0\n # 存储配置,解决 AccessToken 的跨节点的共享\n config-storage:\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\n key-prefix: wx # Redis Key 的前缀\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\n miniapp: # 小程序配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-miniapp-spring-boot-starter/README.md 文档\n # appid: wx62056c0d5e8db250 # 测试号(牛希尧提供的)\n # secret: 333ae72f41552af1e998fe1f54e1584a\n appid: wx63c280fe3248a3e7 # wenhualian的接口测试号\n secret: 6f270509224a7ae1296bbf1c8cb97aed\n # appid: wxc4598c446f8a9cb3 # 测试号(Kongdy 提供的)\n # secret: 4a1a04e07f6a4a0751b39c3064a92c8b\n config-storage:\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\n key-prefix: wa # Redis Key 的前缀\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\n\n--- #################### 平台相关配置 ####################\n\n# 平台配置项,设置当前项目所有自定义的配置\niailab:\n env: # 多环境的配置项\n tag: ${HOSTNAME}\n captcha:\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\n security:\n mock-enable: true\n xss:\n enable: false\n exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系\n - ${spring.boot.admin.context-path}/** # 不处理 Spring Boot Admin 的请求\n - ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求\n pay:\n pay-notify-url: http://niubi.natapp1.cc/api/pay/order/notify\n pay-return-url: http://niubi.natapp1.cc/api/pay/order/return\n refund-notify-url: http://niubi.natapp1.cc/api/pay/refund/notify\n access-log: # 访问日志的配置项\n enable: false\n demo: false # 关闭演示模式\n\njustauth:\n enabled: true\n type:\n DINGTALK: # 钉钉\n client-id: dingvrnreaje3yqvzhxg\n client-secret: i8E6iZyDvZj51JIb0tYsYfVQYOks9Cq1lgryEjFRqC79P3iJcrxEwT6Qk2QvLrLI\n ignore-check-redirect-uri: true\n WECHAT_ENTERPRISE: # 企业微信\n client-id: wwd411c69a39ad2e54\n client-secret: 1wTb7hYxnpT2TUbIeHGXGo7T0odav1ic10mLdyyATOw\n agent-id: 1000004\n ignore-check-redirect-uri: true\n # noinspection SpringBootApplicationYaml\n WECHAT_MINI_APP: # 微信小程序\n client-id: ${wx.miniapp.appid}\n client-secret: ${wx.miniapp.secret}\n ignore-check-redirect-uri: true\n ignore-check-state: true # 微信小程序,不会使用到 state,所以不进行校验\n WECHAT_MP: # 微信公众号\n client-id: ${wx.mp.app-id}\n client-secret: ${wx.mp.secret}\n ignore-check-redirect-uri: true\n cache:\n type: REDIS\n prefix: \'social_auth_state:\' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE::\n timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟\n', '0856d0b9bbe03a7b53a7894dbe11d7e0', '2010-05-05 00:00:00', '2024-07-25 08:00:23', 'nacos', '172.16.0.6', 'D', 'a7112341-c9e2-4177-bc5b-0d2e8cf0b3bb', '');
| INSERT INTO `his_config_info` VALUES (79, 114, 'system-server-test.yaml', 'DEFAULT_GROUP', '', '--- #################### 注册中心 + 配置中心相关配置 ####################\r\n\r\nspring:\r\n cloud:\r\n nacos:\r\n server-addr: @nacos.server@ # Nacos 服务器地址\r\n username: @nacos.username@\r\n password: @nacos.password@\r\n discovery: # 【配置中心】配置项\r\n namespace: @nacos.namespace@ # 命名空间。这里使用 dev 开发环境\r\n group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP\r\n metadata:\r\n version: @nacos.metadata.version@ # 服务实例的版本号,可用于灰度发布\r\n config: # 【注册中心】配置项\r\n namespace: @nacos.namespace@ # 命名空间。这里使用 dev 开发环境\r\n group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP\r\n\r\n--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.100:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n# rocketmq 配置项,对应 RocketMQProperties 配置类\r\nrocketmq:\r\n name-server: 172.16.8.100:9876 # RocketMQ Namesrv\r\n\r\nspring:\r\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\r\n rabbitmq:\r\n host: 172.16.8.100 # RabbitMQ 服务的地址\r\n port: 5672 # RabbitMQ 服务的端口\r\n username: guest # RabbitMQ 服务的账号\r\n password: guest # RabbitMQ 服务的密码\r\n # Kafka 配置项,对应 KafkaProperties 配置类\r\n kafka:\r\n bootstrap-servers: 172.16.8.100:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.system.dal.mysql: debug\r\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\r\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\r\n #org.springframework.context.support.PostProcessorRegistrationDelegate: ERROR # TODO 芋艿:先禁用,Spring Boot 3.X 存在部分错误的 WARN 提示\r\n\r\n--- #################### 微信公众号、小程序相关配置 ####################\r\nwx:\r\n mp: # 公众号配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-mp-spring-boot-starter/README.md 文档\r\n # app-id: wx041349c6f39b268b\r\n # secret: 5abee519483bc9f8cb37ce280e814bd0\r\n app-id: wx5b23ba7a5589ecbb # 测试号\r\n secret: 2a7b3b20c537e52e74afd395eb85f61f\r\n # 存储配置,解决 AccessToken 的跨节点的共享\r\n config-storage:\r\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\r\n key-prefix: wx # Redis Key 的前缀\r\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\r\n miniapp: # 小程序配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-miniapp-spring-boot-starter/README.md 文档\r\n # appid: wx62056c0d5e8db250\r\n # secret: 333ae72f41552af1e998fe1f54e1584a\r\n appid: wx63c280fe3248a3e7 # wenhualian的接口测试号\r\n secret: 6f270509224a7ae1296bbf1c8cb97aed\r\n config-storage:\r\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\r\n key-prefix: wa # Redis Key 的前缀\r\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n captcha:\r\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\r\n security:\r\n mock-enable: true\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n\r\njustauth:\r\n enabled: true\r\n type:\r\n DINGTALK: # 钉钉\r\n client-id: dingvrnreaje3yqvzhxg\r\n client-secret: i8E6iZyDvZj51JIb0tYsYfVQYOks9Cq1lgryEjFRqC79P3iJcrxEwT6Qk2QvLrLI\r\n ignore-check-redirect-uri: true\r\n WECHAT_ENTERPRISE: # 企业微信\r\n client-id: wwd411c69a39ad2e54\r\n client-secret: 1wTb7hYxnpT2TUbIeHGXGo7T0odav1ic10mLdyyATOw\r\n agent-id: 1000004\r\n ignore-check-redirect-uri: true\r\n # noinspection SpringBootApplicationYaml\r\n WECHAT_MINI_APP: # 微信小程序\r\n client-id: ${wx.miniapp.appid}\r\n client-secret: ${wx.miniapp.secret}\r\n ignore-check-redirect-uri: true\r\n ignore-check-state: true # 微信小程序,不会使用到 state,所以不进行校验\r\n WECHAT_MP: # 微信公众号\r\n client-id: ${wx.mp.app-id}\r\n client-secret: ${wx.mp.secret}\r\n ignore-check-redirect-uri: true\r\n cache:\r\n type: REDIS\r\n prefix: \'social_auth_state:\' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE::\r\n timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟\r\n', '2b8bc2005b67b988422b39d6bfd77dd9', '2010-05-05 00:00:00', '2024-07-25 08:06:17', 'nacos', '172.16.0.6', 'U', 'a7112341-c9e2-4177-bc5b-0d2e8cf0b3bb', '');
| INSERT INTO `his_config_info` VALUES (80, 115, 'application-test.yaml', 'DEFAULT_GROUP', '', '--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 127.0.0.1 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n# rocketmq 配置项,对应 RocketMQProperties 配置类\r\nrocketmq:\r\n name-server: 127.0.0.1:9876 # RocketMQ Namesrv\r\n\r\nspring:\r\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\r\n rabbitmq:\r\n host: 127.0.0.1 # RabbitMQ 服务的地址\r\n port: 5672 # RabbitMQ 服务的端口\r\n username: guest # RabbitMQ 服务的账号\r\n password: guest # RabbitMQ 服务的密码\r\n # Kafka 配置项,对应 KafkaProperties 配置类\r\n kafka:\r\n bootstrap-servers: 127.0.0.1:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://127.0.0.1:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.system.dal.mysql: debug\r\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\r\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\r\n\r\n--- #################### 微信公众号、小程序相关配置 ####################\r\nwx:\r\n mp: # 公众号配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-mp-spring-boot-starter/README.md 文档\r\n # app-id: wx041349c6f39b268b # 测试号(牛希尧提供的)\r\n # secret: 5abee519483bc9f8cb37ce280e814bd0\r\n app-id: wx5b23ba7a5589ecbb # 测试号(自己的)\r\n secret: 2a7b3b20c537e52e74afd395eb85f61f\r\n # app-id: wxa69ab825b163be19 # 测试号(Kongdy 提供的)\r\n # secret: bd4f9fab889591b62aeac0d7b8d8b4a0\r\n # 存储配置,解决 AccessToken 的跨节点的共享\r\n config-storage:\r\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\r\n key-prefix: wx # Redis Key 的前缀\r\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\r\n miniapp: # 小程序配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-miniapp-spring-boot-starter/README.md 文档\r\n # appid: wx62056c0d5e8db250 # 测试号(牛希尧提供的)\r\n # secret: 333ae72f41552af1e998fe1f54e1584a\r\n appid: wx63c280fe3248a3e7 # wenhualian的接口测试号\r\n secret: 6f270509224a7ae1296bbf1c8cb97aed\r\n # appid: wxc4598c446f8a9cb3 # 测试号(Kongdy 提供的)\r\n # secret: 4a1a04e07f6a4a0751b39c3064a92c8b\r\n config-storage:\r\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\r\n key-prefix: wa # Redis Key 的前缀\r\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n captcha:\r\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\r\n security:\r\n mock-enable: true\r\n xss:\r\n enable: false\r\n exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系\r\n - ${spring.boot.admin.context-path}/** # 不处理 Spring Boot Admin 的请求\r\n - ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求\r\n pay:\r\n pay-notify-url: http://niubi.natapp1.cc/api/pay/order/notify\r\n pay-return-url: http://niubi.natapp1.cc/api/pay/order/return\r\n refund-notify-url: http://niubi.natapp1.cc/api/pay/refund/notify\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n demo: false # 关闭演示模式\r\n\r\njustauth:\r\n enabled: true\r\n type:\r\n DINGTALK: # 钉钉\r\n client-id: dingvrnreaje3yqvzhxg\r\n client-secret: i8E6iZyDvZj51JIb0tYsYfVQYOks9Cq1lgryEjFRqC79P3iJcrxEwT6Qk2QvLrLI\r\n ignore-check-redirect-uri: true\r\n WECHAT_ENTERPRISE: # 企业微信\r\n client-id: wwd411c69a39ad2e54\r\n client-secret: 1wTb7hYxnpT2TUbIeHGXGo7T0odav1ic10mLdyyATOw\r\n agent-id: 1000004\r\n ignore-check-redirect-uri: true\r\n # noinspection SpringBootApplicationYaml\r\n WECHAT_MINI_APP: # 微信小程序\r\n client-id: ${wx.miniapp.appid}\r\n client-secret: ${wx.miniapp.secret}\r\n ignore-check-redirect-uri: true\r\n ignore-check-state: true # 微信小程序,不会使用到 state,所以不进行校验\r\n WECHAT_MP: # 微信公众号\r\n client-id: ${wx.mp.app-id}\r\n client-secret: ${wx.mp.secret}\r\n ignore-check-redirect-uri: true\r\n cache:\r\n type: REDIS\r\n prefix: \'social_auth_state:\' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE::\r\n timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟\r\n', '243e6cccfb0d5d25340b52e4c5682f68', '2010-05-05 00:00:00', '2024-07-25 08:16:13', 'nacos', '172.16.0.6', 'U', 'a7112341-c9e2-4177-bc5b-0d2e8cf0b3bb', '');
| INSERT INTO `his_config_info` VALUES (79, 116, 'system-server-test.yaml', 'DEFAULT_GROUP', '', '--- #################### 数据库相关配置 ####################\nspring:\n # 数据源配置项\n autoconfigure:\n exclude:\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\n datasource:\n druid: # Druid 【监控】相关的全局配置\n web-stat-filter:\n enabled: true\n stat-view-servlet:\n enabled: true\n allow: # 设置白名单,不填则允许所有访问\n url-pattern: /druid/*\n login-username: # 控制台管理用户名和密码\n login-password:\n filter:\n stat:\n enabled: true\n log-slow-sql: true # 慢 SQL 记录\n slow-sql-millis: 100\n merge-sql: true\n wall:\n config:\n multi-statement-allow: true\n dynamic: # 多数据源配置\n druid: # Druid 【连接池】相关的全局配置\n initial-size: 1 # 初始连接数\n min-idle: 1 # 最小连接池数量\n max-active: 20 # 最大连接池数量\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\n test-while-idle: true\n test-on-borrow: false\n test-on-return: false\n primary: master\n datasource:\n master:\n url: jdbc:mysql://172.16.8.100:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\n username: root\n password: 123456\n # username: sa # SQL Server 连接的示例\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\n # username: SYSDBA # DM 连接的示例\n # password: SYSDBA # DM 连接的示例\n slave: # 模拟从库,可根据自己需要修改\n lazy: true # 开启懒加载,保证启动速度\n url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\n username: root\n password: 123456\n\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\n redis:\n host: 172.16.8.100 # 地址\n port: 6379 # 端口\n database: 0 # 数据库索引\n password: 123456 # 密码,建议生产环境开启\n\n--- #################### MQ 消息队列相关配置 ####################\n\n# rocketmq 配置项,对应 RocketMQProperties 配置类\nrocketmq:\n name-server: 172.16.8.100:9876 # RocketMQ Namesrv\n\nspring:\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\n rabbitmq:\n host: 172.16.8.100 # RabbitMQ 服务的地址\n port: 5672 # RabbitMQ 服务的端口\n username: guest # RabbitMQ 服务的账号\n password: guest # RabbitMQ 服务的密码\n # Kafka 配置项,对应 KafkaProperties 配置类\n kafka:\n bootstrap-servers: 172.16.8.100:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\n\n--- #################### 定时任务相关配置 ####################\n\nxxl:\n job:\n enabled: true # 是否开启调度中心,默认为 true 开启\n admin:\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\n\n--- #################### 服务保障相关配置 ####################\n\n# Lock4j 配置项\nlock4j:\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\n\n--- #################### 监控相关配置 ####################\n\n# Actuator 监控端点的配置项\nmanagement:\n endpoints:\n web:\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\n exposure:\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\n\n# Spring Boot Admin 配置项\nspring:\n boot:\n admin:\n # Spring Boot Admin Client 客户端的相关配置\n client:\n instance:\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\n\n# 日志文件配置\nlogging:\n level:\n # 配置自己写的 MyBatis Mapper 打印日志\n com.iailab.module.system.dal.mysql: debug\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\n #org.springframework.context.support.PostProcessorRegistrationDelegate: ERROR # TODO 芋艿:先禁用,Spring Boot 3.X 存在部分错误的 WARN 提示\n\n--- #################### 微信公众号、小程序相关配置 ####################\nwx:\n mp: # 公众号配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-mp-spring-boot-starter/README.md 文档\n # app-id: wx041349c6f39b268b\n # secret: 5abee519483bc9f8cb37ce280e814bd0\n app-id: wx5b23ba7a5589ecbb # 测试号\n secret: 2a7b3b20c537e52e74afd395eb85f61f\n # 存储配置,解决 AccessToken 的跨节点的共享\n config-storage:\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\n key-prefix: wx # Redis Key 的前缀\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\n miniapp: # 小程序配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-miniapp-spring-boot-starter/README.md 文档\n # appid: wx62056c0d5e8db250\n # secret: 333ae72f41552af1e998fe1f54e1584a\n appid: wx63c280fe3248a3e7 # wenhualian的接口测试号\n secret: 6f270509224a7ae1296bbf1c8cb97aed\n config-storage:\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\n key-prefix: wa # Redis Key 的前缀\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\n\n--- #################### 平台相关配置 ####################\n\n# 平台配置项,设置当前项目所有自定义的配置\niailab:\n env: # 多环境的配置项\n tag: ${HOSTNAME}\n captcha:\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\n security:\n mock-enable: true\n access-log: # 访问日志的配置项\n enable: false\n\njustauth:\n enabled: true\n type:\n DINGTALK: # 钉钉\n client-id: dingvrnreaje3yqvzhxg\n client-secret: i8E6iZyDvZj51JIb0tYsYfVQYOks9Cq1lgryEjFRqC79P3iJcrxEwT6Qk2QvLrLI\n ignore-check-redirect-uri: true\n WECHAT_ENTERPRISE: # 企业微信\n client-id: wwd411c69a39ad2e54\n client-secret: 1wTb7hYxnpT2TUbIeHGXGo7T0odav1ic10mLdyyATOw\n agent-id: 1000004\n ignore-check-redirect-uri: true\n # noinspection SpringBootApplicationYaml\n WECHAT_MINI_APP: # 微信小程序\n client-id: ${wx.miniapp.appid}\n client-secret: ${wx.miniapp.secret}\n ignore-check-redirect-uri: true\n ignore-check-state: true # 微信小程序,不会使用到 state,所以不进行校验\n WECHAT_MP: # 微信公众号\n client-id: ${wx.mp.app-id}\n client-secret: ${wx.mp.secret}\n ignore-check-redirect-uri: true\n cache:\n type: REDIS\n prefix: \'social_auth_state:\' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE::\n timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟\n', 'f37ea401caf32cc692c10e41f4aca090', '2010-05-05 00:00:00', '2024-07-25 08:16:17', 'nacos', '172.16.0.6', 'D', 'a7112341-c9e2-4177-bc5b-0d2e8cf0b3bb', '');
| INSERT INTO `his_config_info` VALUES (80, 117, 'application-test.yaml', 'DEFAULT_GROUP', '', '--- #################### 数据库相关配置 ####################\nspring:\n # 数据源配置项\n autoconfigure:\n exclude:\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\n datasource:\n druid: # Druid 【监控】相关的全局配置\n web-stat-filter:\n enabled: true\n stat-view-servlet:\n enabled: true\n allow: # 设置白名单,不填则允许所有访问\n url-pattern: /druid/*\n login-username: # 控制台管理用户名和密码\n login-password:\n filter:\n stat:\n enabled: true\n log-slow-sql: true # 慢 SQL 记录\n slow-sql-millis: 100\n merge-sql: true\n wall:\n config:\n multi-statement-allow: true\n dynamic: # 多数据源配置\n druid: # Druid 【连接池】相关的全局配置\n initial-size: 1 # 初始连接数\n min-idle: 1 # 最小连接池数量\n max-active: 20 # 最大连接池数量\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\n test-while-idle: true\n test-on-borrow: false\n test-on-return: false\n primary: master\n datasource:\n master:\n url: jdbc:mysql://172.16.8.100:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\n username: root\n password: 123456\n # username: sa # SQL Server 连接的示例\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\n # username: SYSDBA # DM 连接的示例\n # password: SYSDBA # DM 连接的示例\n slave: # 模拟从库,可根据自己需要修改\n lazy: true # 开启懒加载,保证启动速度\n url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\n username: root\n password: 123456\n\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\n redis:\n host: 172.16.8.100 # 地址\n port: 6379 # 端口\n database: 0 # 数据库索引\n password: 123456 # 密码,建议生产环境开启\n\n--- #################### MQ 消息队列相关配置 ####################\n\n# rocketmq 配置项,对应 RocketMQProperties 配置类\nrocketmq:\n name-server: 172.16.8.100:9876 # RocketMQ Namesrv\n\nspring:\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\n rabbitmq:\n host: 172.16.8.100 # RabbitMQ 服务的地址\n port: 5672 # RabbitMQ 服务的端口\n username: guest # RabbitMQ 服务的账号\n password: guest # RabbitMQ 服务的密码\n # Kafka 配置项,对应 KafkaProperties 配置类\n kafka:\n bootstrap-servers: 172.16.8.100:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\n\n--- #################### 定时任务相关配置 ####################\n\nxxl:\n job:\n enabled: true # 是否开启调度中心,默认为 true 开启\n admin:\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\n\n--- #################### 服务保障相关配置 ####################\n\n# Lock4j 配置项\nlock4j:\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\n\n--- #################### 监控相关配置 ####################\n\n# Actuator 监控端点的配置项\nmanagement:\n endpoints:\n web:\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\n exposure:\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\n\n# Spring Boot Admin 配置项\nspring:\n boot:\n admin:\n # Spring Boot Admin Client 客户端的相关配置\n client:\n instance:\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\n\n# 日志文件配置\nlogging:\n level:\n # 配置自己写的 MyBatis Mapper 打印日志\n com.iailab.module.system.dal.mysql: debug\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\n #org.springframework.context.support.PostProcessorRegistrationDelegate: ERROR # TODO 芋艿:先禁用,Spring Boot 3.X 存在部分错误的 WARN 提示\n\n--- #################### 微信公众号、小程序相关配置 ####################\nwx:\n mp: # 公众号配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-mp-spring-boot-starter/README.md 文档\n # app-id: wx041349c6f39b268b\n # secret: 5abee519483bc9f8cb37ce280e814bd0\n app-id: wx5b23ba7a5589ecbb # 测试号\n secret: 2a7b3b20c537e52e74afd395eb85f61f\n # 存储配置,解决 AccessToken 的跨节点的共享\n config-storage:\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\n key-prefix: wx # Redis Key 的前缀\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\n miniapp: # 小程序配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-miniapp-spring-boot-starter/README.md 文档\n # appid: wx62056c0d5e8db250\n # secret: 333ae72f41552af1e998fe1f54e1584a\n appid: wx63c280fe3248a3e7 # wenhualian的接口测试号\n secret: 6f270509224a7ae1296bbf1c8cb97aed\n config-storage:\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\n key-prefix: wa # Redis Key 的前缀\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\n\n--- #################### 平台相关配置 ####################\n\n# 平台配置项,设置当前项目所有自定义的配置\niailab:\n env: # 多环境的配置项\n tag: ${HOSTNAME}\n captcha:\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\n security:\n mock-enable: true\n access-log: # 访问日志的配置项\n enable: false\n\njustauth:\n enabled: true\n type:\n DINGTALK: # 钉钉\n client-id: dingvrnreaje3yqvzhxg\n client-secret: i8E6iZyDvZj51JIb0tYsYfVQYOks9Cq1lgryEjFRqC79P3iJcrxEwT6Qk2QvLrLI\n ignore-check-redirect-uri: true\n WECHAT_ENTERPRISE: # 企业微信\n client-id: wwd411c69a39ad2e54\n client-secret: 1wTb7hYxnpT2TUbIeHGXGo7T0odav1ic10mLdyyATOw\n agent-id: 1000004\n ignore-check-redirect-uri: true\n # noinspection SpringBootApplicationYaml\n WECHAT_MINI_APP: # 微信小程序\n client-id: ${wx.miniapp.appid}\n client-secret: ${wx.miniapp.secret}\n ignore-check-redirect-uri: true\n ignore-check-state: true # 微信小程序,不会使用到 state,所以不进行校验\n WECHAT_MP: # 微信公众号\n client-id: ${wx.mp.app-id}\n client-secret: ${wx.mp.secret}\n ignore-check-redirect-uri: true\n cache:\n type: REDIS\n prefix: \'social_auth_state:\' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE::\n timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟\n', 'f37ea401caf32cc692c10e41f4aca090', '2010-05-05 00:00:00', '2024-07-25 08:17:01', 'nacos', '172.16.0.6', 'U', 'a7112341-c9e2-4177-bc5b-0d2e8cf0b3bb', '');
| INSERT INTO `his_config_info` VALUES (80, 118, 'application-test.yaml', 'DEFAULT_GROUP', '', '--- #################### 数据库相关配置 ####################\nspring:\n # 数据源配置项\n autoconfigure:\n exclude:\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\n datasource:\n druid: # Druid 【监控】相关的全局配置\n web-stat-filter:\n enabled: true\n stat-view-servlet:\n enabled: true\n allow: # 设置白名单,不填则允许所有访问\n url-pattern: /druid/*\n login-username: # 控制台管理用户名和密码\n login-password:\n filter:\n stat:\n enabled: true\n log-slow-sql: true # 慢 SQL 记录\n slow-sql-millis: 100\n merge-sql: true\n wall:\n config:\n multi-statement-allow: true\n dynamic: # 多数据源配置\n druid: # Druid 【连接池】相关的全局配置\n initial-size: 1 # 初始连接数\n min-idle: 1 # 最小连接池数量\n max-active: 20 # 最大连接池数量\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\n test-while-idle: true\n test-on-borrow: false\n test-on-return: false\n primary: master\n datasource:\n master:\n url: jdbc:mysql://172.16.8.100:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\n username: root\n password: 123456\n # username: sa # SQL Server 连接的示例\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\n # username: SYSDBA # DM 连接的示例\n # password: SYSDBA # DM 连接的示例\n slave: # 模拟从库,可根据自己需要修改\n lazy: true # 开启懒加载,保证启动速度\n url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\n username: root\n password: 123456\n\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\n redis:\n host: 172.16.8.100 # 地址\n port: 6379 # 端口\n database: 0 # 数据库索引\n password: 123456 # 密码,建议生产环境开启\n\n--- #################### MQ 消息队列相关配置 ####################\n\n# rocketmq 配置项,对应 RocketMQProperties 配置类\nrocketmq:\n name-server: 172.16.8.100:9876 # RocketMQ Namesrv\n\nspring:\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\n rabbitmq:\n host: 172.16.8.100 # RabbitMQ 服务的地址\n port: 5672 # RabbitMQ 服务的端口\n username: guest # RabbitMQ 服务的账号\n password: guest # RabbitMQ 服务的密码\n # Kafka 配置项,对应 KafkaProperties 配置类\n kafka:\n bootstrap-servers: 172.16.8.100:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\n\n--- #################### 定时任务相关配置 ####################\n\nxxl:\n job:\n enabled: true # 是否开启调度中心,默认为 true 开启\n admin:\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\n\n--- #################### 服务保障相关配置 ####################\n\n# Lock4j 配置项\nlock4j:\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\n\n--- #################### 监控相关配置 ####################\n\n# Actuator 监控端点的配置项\nmanagement:\n endpoints:\n web:\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\n exposure:\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\n\n# Spring Boot Admin 配置项\nspring:\n boot:\n admin:\n # Spring Boot Admin Client 客户端的相关配置\n client:\n instance:\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\n\n# 日志文件配置\nlogging:\n level:\n # 配置自己写的 MyBatis Mapper 打印日志\n com.iailab.module.system.dal.mysql: debug\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\n #org.springframework.context.support.PostProcessorRegistrationDelegate: ERROR # TODO 芋艿:先禁用,Spring Boot 3.X 存在部分错误的 WARN 提示\n\n--- #################### 微信公众号、小程序相关配置 ####################\nwx:\n mp: # 公众号配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-mp-spring-boot-starter/README.md 文档\n # app-id: wx041349c6f39b268b\n # secret: 5abee519483bc9f8cb37ce280e814bd0\n app-id: wx5b23ba7a5589ecbb # 测试号\n secret: 2a7b3b20c537e52e74afd395eb85f61f\n # 存储配置,解决 AccessToken 的跨节点的共享\n config-storage:\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\n key-prefix: wx # Redis Key 的前缀\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\n miniapp: # 小程序配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-miniapp-spring-boot-starter/README.md 文档\n # appid: wx62056c0d5e8db250\n # secret: 333ae72f41552af1e998fe1f54e1584a\n appid: wx63c280fe3248a3e7 # wenhualian的接口测试号\n secret: 6f270509224a7ae1296bbf1c8cb97aed\n config-storage:\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\n key-prefix: wa # Redis Key 的前缀\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\n\n--- #################### 平台相关配置 ####################\n\n# 平台配置项,设置当前项目所有自定义的配置\niailab:\n env: # 多环境的配置项\n tag: ${HOSTNAME}\n captcha:\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\n security:\n mock-enable: true\n access-log: # 访问日志的配置项\n enable: false\n\ninflux-db:\n org: IAILab\n bucket: whs_data\n token: gxhXM4H1VOBv07kYXKWyPag_zJ8_oChP4ooZ3u-BkSae9LS8R1wWzJYlmUjL3Qe9t1hDU3DtoYD5HTgjWoTGOg==\n url: http://localhost:8086\n\njustauth:\n enabled: true\n type:\n DINGTALK: # 钉钉\n client-id: dingvrnreaje3yqvzhxg\n client-secret: i8E6iZyDvZj51JIb0tYsYfVQYOks9Cq1lgryEjFRqC79P3iJcrxEwT6Qk2QvLrLI\n ignore-check-redirect-uri: true\n WECHAT_ENTERPRISE: # 企业微信\n client-id: wwd411c69a39ad2e54\n client-secret: 1wTb7hYxnpT2TUbIeHGXGo7T0odav1ic10mLdyyATOw\n agent-id: 1000004\n ignore-check-redirect-uri: true\n # noinspection SpringBootApplicationYaml\n WECHAT_MINI_APP: # 微信小程序\n client-id: ${wx.miniapp.appid}\n client-secret: ${wx.miniapp.secret}\n ignore-check-redirect-uri: true\n ignore-check-state: true # 微信小程序,不会使用到 state,所以不进行校验\n WECHAT_MP: # 微信公众号\n client-id: ${wx.mp.app-id}\n client-secret: ${wx.mp.secret}\n ignore-check-redirect-uri: true\n cache:\n type: REDIS\n prefix: \'social_auth_state:\' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE::\n timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟\n', '3a4bf1baf81b24957036c94ac278bb48', '2010-05-05 00:00:00', '2024-07-25 08:18:11', 'nacos', '172.16.0.6', 'U', 'a7112341-c9e2-4177-bc5b-0d2e8cf0b3bb', '');
| INSERT INTO `his_config_info` VALUES (0, 119, 'system-server-test.yarm', 'DEFAULT_GROUP', '', '--- #################### 注册中心 + 配置中心相关配置 ####################\r\n\r\nspring:\r\n cloud:\r\n nacos:\r\n server-addr: @nacos.server@ # Nacos 服务器地址\r\n username: @nacos.username@\r\n password: @nacos.password@\r\n discovery: # 【配置中心】配置项\r\n namespace: @nacos.namespace@ # 命名空间。这里使用 dev 开发环境\r\n group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP\r\n metadata:\r\n version: @nacos.metadata.version@ # 服务实例的版本号,可用于灰度发布\r\n config: # 【注册中心】配置项\r\n namespace: @nacos.namespace@ # 命名空间。这里使用 dev 开发环境\r\n group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP\r\n \r\n--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.100:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n# rocketmq 配置项,对应 RocketMQProperties 配置类\r\nrocketmq:\r\n name-server: 172.16.8.100:9876 # RocketMQ Namesrv\r\n\r\nspring:\r\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\r\n rabbitmq:\r\n host: 172.16.8.100 # RabbitMQ 服务的地址\r\n port: 5672 # RabbitMQ 服务的端口\r\n username: guest # RabbitMQ 服务的账号\r\n password: guest # RabbitMQ 服务的密码\r\n # Kafka 配置项,对应 KafkaProperties 配置类\r\n kafka:\r\n bootstrap-servers: 172.16.8.100:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.system.dal.mysql: debug\r\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\r\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\r\n #org.springframework.context.support.PostProcessorRegistrationDelegate: ERROR # TODO 芋艿:先禁用,Spring Boot 3.X 存在部分错误的 WARN 提示\r\n\r\n--- #################### 微信公众号、小程序相关配置 ####################\r\nwx:\r\n mp: # 公众号配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-mp-spring-boot-starter/README.md 文档\r\n # app-id: wx041349c6f39b268b\r\n # secret: 5abee519483bc9f8cb37ce280e814bd0\r\n app-id: wx5b23ba7a5589ecbb # 测试号\r\n secret: 2a7b3b20c537e52e74afd395eb85f61f\r\n # 存储配置,解决 AccessToken 的跨节点的共享\r\n config-storage:\r\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\r\n key-prefix: wx # Redis Key 的前缀\r\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\r\n miniapp: # 小程序配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-miniapp-spring-boot-starter/README.md 文档\r\n # appid: wx62056c0d5e8db250\r\n # secret: 333ae72f41552af1e998fe1f54e1584a\r\n appid: wx63c280fe3248a3e7 # wenhualian的接口测试号\r\n secret: 6f270509224a7ae1296bbf1c8cb97aed\r\n config-storage:\r\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\r\n key-prefix: wa # Redis Key 的前缀\r\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n captcha:\r\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\r\n security:\r\n mock-enable: true\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n\r\njustauth:\r\n enabled: true\r\n type:\r\n DINGTALK: # 钉钉\r\n client-id: dingvrnreaje3yqvzhxg\r\n client-secret: i8E6iZyDvZj51JIb0tYsYfVQYOks9Cq1lgryEjFRqC79P3iJcrxEwT6Qk2QvLrLI\r\n ignore-check-redirect-uri: true\r\n WECHAT_ENTERPRISE: # 企业微信\r\n client-id: wwd411c69a39ad2e54\r\n client-secret: 1wTb7hYxnpT2TUbIeHGXGo7T0odav1ic10mLdyyATOw\r\n agent-id: 1000004\r\n ignore-check-redirect-uri: true\r\n # noinspection SpringBootApplicationYaml\r\n WECHAT_MINI_APP: # 微信小程序\r\n client-id: ${wx.miniapp.appid}\r\n client-secret: ${wx.miniapp.secret}\r\n ignore-check-redirect-uri: true\r\n ignore-check-state: true # 微信小程序,不会使用到 state,所以不进行校验\r\n WECHAT_MP: # 微信公众号\r\n client-id: ${wx.mp.app-id}\r\n client-secret: ${wx.mp.secret}\r\n ignore-check-redirect-uri: true\r\n cache:\r\n type: REDIS\r\n prefix: \'social_auth_state:\' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE::\r\n timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟\r\n', '7bea4a495c8eb466e032c58cda92707d', '2010-05-05 00:00:00', '2024-07-25 08:22:03', 'nacos', '172.16.0.6', 'I', 'a7112341-c9e2-4177-bc5b-0d2e8cf0b3bb', '');
| INSERT INTO `his_config_info` VALUES (81, 120, 'system-server-test.yarm', 'DEFAULT_GROUP', '', '--- #################### 注册中心 + 配置中心相关配置 ####################\r\n\r\nspring:\r\n cloud:\r\n nacos:\r\n server-addr: @nacos.server@ # Nacos 服务器地址\r\n username: @nacos.username@\r\n password: @nacos.password@\r\n discovery: # 【配置中心】配置项\r\n namespace: @nacos.namespace@ # 命名空间。这里使用 dev 开发环境\r\n group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP\r\n metadata:\r\n version: @nacos.metadata.version@ # 服务实例的版本号,可用于灰度发布\r\n config: # 【注册中心】配置项\r\n namespace: @nacos.namespace@ # 命名空间。这里使用 dev 开发环境\r\n group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP\r\n \r\n--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.100:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n# rocketmq 配置项,对应 RocketMQProperties 配置类\r\nrocketmq:\r\n name-server: 172.16.8.100:9876 # RocketMQ Namesrv\r\n\r\nspring:\r\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\r\n rabbitmq:\r\n host: 172.16.8.100 # RabbitMQ 服务的地址\r\n port: 5672 # RabbitMQ 服务的端口\r\n username: guest # RabbitMQ 服务的账号\r\n password: guest # RabbitMQ 服务的密码\r\n # Kafka 配置项,对应 KafkaProperties 配置类\r\n kafka:\r\n bootstrap-servers: 172.16.8.100:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.system.dal.mysql: debug\r\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\r\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\r\n #org.springframework.context.support.PostProcessorRegistrationDelegate: ERROR # TODO 芋艿:先禁用,Spring Boot 3.X 存在部分错误的 WARN 提示\r\n\r\n--- #################### 微信公众号、小程序相关配置 ####################\r\nwx:\r\n mp: # 公众号配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-mp-spring-boot-starter/README.md 文档\r\n # app-id: wx041349c6f39b268b\r\n # secret: 5abee519483bc9f8cb37ce280e814bd0\r\n app-id: wx5b23ba7a5589ecbb # 测试号\r\n secret: 2a7b3b20c537e52e74afd395eb85f61f\r\n # 存储配置,解决 AccessToken 的跨节点的共享\r\n config-storage:\r\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\r\n key-prefix: wx # Redis Key 的前缀\r\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\r\n miniapp: # 小程序配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-miniapp-spring-boot-starter/README.md 文档\r\n # appid: wx62056c0d5e8db250\r\n # secret: 333ae72f41552af1e998fe1f54e1584a\r\n appid: wx63c280fe3248a3e7 # wenhualian的接口测试号\r\n secret: 6f270509224a7ae1296bbf1c8cb97aed\r\n config-storage:\r\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\r\n key-prefix: wa # Redis Key 的前缀\r\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n captcha:\r\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\r\n security:\r\n mock-enable: true\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n\r\njustauth:\r\n enabled: true\r\n type:\r\n DINGTALK: # 钉钉\r\n client-id: dingvrnreaje3yqvzhxg\r\n client-secret: i8E6iZyDvZj51JIb0tYsYfVQYOks9Cq1lgryEjFRqC79P3iJcrxEwT6Qk2QvLrLI\r\n ignore-check-redirect-uri: true\r\n WECHAT_ENTERPRISE: # 企业微信\r\n client-id: wwd411c69a39ad2e54\r\n client-secret: 1wTb7hYxnpT2TUbIeHGXGo7T0odav1ic10mLdyyATOw\r\n agent-id: 1000004\r\n ignore-check-redirect-uri: true\r\n # noinspection SpringBootApplicationYaml\r\n WECHAT_MINI_APP: # 微信小程序\r\n client-id: ${wx.miniapp.appid}\r\n client-secret: ${wx.miniapp.secret}\r\n ignore-check-redirect-uri: true\r\n ignore-check-state: true # 微信小程序,不会使用到 state,所以不进行校验\r\n WECHAT_MP: # 微信公众号\r\n client-id: ${wx.mp.app-id}\r\n client-secret: ${wx.mp.secret}\r\n ignore-check-redirect-uri: true\r\n cache:\r\n type: REDIS\r\n prefix: \'social_auth_state:\' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE::\r\n timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟\r\n', '7bea4a495c8eb466e032c58cda92707d', '2010-05-05 00:00:00', '2024-07-25 08:23:28', 'nacos', '172.16.0.6', 'U', 'a7112341-c9e2-4177-bc5b-0d2e8cf0b3bb', '');
| INSERT INTO `his_config_info` VALUES (0, 121, 'system-server-test.yaml', 'DEFAULT_GROUP', '', 'spring:\r\n cloud:\r\n nacos:\r\n server-addr: @nacos.server@ # Nacos 服务器地址\r\n username: @nacos.username@\r\n password: @nacos.password@\r\n discovery: # 【配置中心】配置项\r\n namespace: @nacos.namespace@ # 命名空间。这里使用 dev 开发环境\r\n group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP\r\n metadata:\r\n version: @nacos.metadata.version@ # 服务实例的版本号,可用于灰度发布\r\n config: # 【注册中心】配置项\r\n namespace: @nacos.namespace@ # 命名空间。这里使用 dev 开发环境\r\n group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP\r\n\r\n--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.100:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n# rocketmq 配置项,对应 RocketMQProperties 配置类\r\nrocketmq:\r\n name-server: 172.16.8.100:9876 # RocketMQ Namesrv\r\n\r\nspring:\r\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\r\n rabbitmq:\r\n host: 172.16.8.100 # RabbitMQ 服务的地址\r\n port: 5672 # RabbitMQ 服务的端口\r\n username: guest # RabbitMQ 服务的账号\r\n password: guest # RabbitMQ 服务的密码\r\n # Kafka 配置项,对应 KafkaProperties 配置类\r\n kafka:\r\n bootstrap-servers: 172.16.8.100:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.system.dal.mysql: debug\r\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\r\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\r\n #org.springframework.context.support.PostProcessorRegistrationDelegate: ERROR # TODO 芋艿:先禁用,Spring Boot 3.X 存在部分错误的 WARN 提示\r\n\r\n--- #################### 微信公众号、小程序相关配置 ####################\r\nwx:\r\n mp: # 公众号配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-mp-spring-boot-starter/README.md 文档\r\n # app-id: wx041349c6f39b268b\r\n # secret: 5abee519483bc9f8cb37ce280e814bd0\r\n app-id: wx5b23ba7a5589ecbb # 测试号\r\n secret: 2a7b3b20c537e52e74afd395eb85f61f\r\n # 存储配置,解决 AccessToken 的跨节点的共享\r\n config-storage:\r\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\r\n key-prefix: wx # Redis Key 的前缀\r\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\r\n miniapp: # 小程序配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-miniapp-spring-boot-starter/README.md 文档\r\n # appid: wx62056c0d5e8db250\r\n # secret: 333ae72f41552af1e998fe1f54e1584a\r\n appid: wx63c280fe3248a3e7 # wenhualian的接口测试号\r\n secret: 6f270509224a7ae1296bbf1c8cb97aed\r\n config-storage:\r\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\r\n key-prefix: wa # Redis Key 的前缀\r\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n captcha:\r\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\r\n security:\r\n mock-enable: true\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n\r\njustauth:\r\n enabled: true\r\n type:\r\n DINGTALK: # 钉钉\r\n client-id: dingvrnreaje3yqvzhxg\r\n client-secret: i8E6iZyDvZj51JIb0tYsYfVQYOks9Cq1lgryEjFRqC79P3iJcrxEwT6Qk2QvLrLI\r\n ignore-check-redirect-uri: true\r\n WECHAT_ENTERPRISE: # 企业微信\r\n client-id: wwd411c69a39ad2e54\r\n client-secret: 1wTb7hYxnpT2TUbIeHGXGo7T0odav1ic10mLdyyATOw\r\n agent-id: 1000004\r\n ignore-check-redirect-uri: true\r\n # noinspection SpringBootApplicationYaml\r\n WECHAT_MINI_APP: # 微信小程序\r\n client-id: ${wx.miniapp.appid}\r\n client-secret: ${wx.miniapp.secret}\r\n ignore-check-redirect-uri: true\r\n ignore-check-state: true # 微信小程序,不会使用到 state,所以不进行校验\r\n WECHAT_MP: # 微信公众号\r\n client-id: ${wx.mp.app-id}\r\n client-secret: ${wx.mp.secret}\r\n ignore-check-redirect-uri: true\r\n cache:\r\n type: REDIS\r\n prefix: \'social_auth_state:\' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE::\r\n timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟\r\n', 'e0f31afcdce4b6149fa94252f7364eee', '2010-05-05 00:00:00', '2024-07-25 08:26:44', 'nacos', '172.16.0.6', 'I', 'a7112341-c9e2-4177-bc5b-0d2e8cf0b3bb', '');
| INSERT INTO `his_config_info` VALUES (81, 122, 'system-server-test.yarm', 'DEFAULT_GROUP', '', '--- #################### 数据库相关配置 ####################\nspring:\n # 数据源配置项\n autoconfigure:\n exclude:\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\n datasource:\n druid: # Druid 【监控】相关的全局配置\n web-stat-filter:\n enabled: true\n stat-view-servlet:\n enabled: true\n allow: # 设置白名单,不填则允许所有访问\n url-pattern: /druid/*\n login-username: # 控制台管理用户名和密码\n login-password:\n filter:\n stat:\n enabled: true\n log-slow-sql: true # 慢 SQL 记录\n slow-sql-millis: 100\n merge-sql: true\n wall:\n config:\n multi-statement-allow: true\n dynamic: # 多数据源配置\n druid: # Druid 【连接池】相关的全局配置\n initial-size: 1 # 初始连接数\n min-idle: 1 # 最小连接池数量\n max-active: 20 # 最大连接池数量\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\n test-while-idle: true\n test-on-borrow: false\n test-on-return: false\n primary: master\n datasource:\n master:\n url: jdbc:mysql://172.16.8.100:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\n username: root\n password: 123456\n # username: sa # SQL Server 连接的示例\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\n # username: SYSDBA # DM 连接的示例\n # password: SYSDBA # DM 连接的示例\n slave: # 模拟从库,可根据自己需要修改\n lazy: true # 开启懒加载,保证启动速度\n url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\n username: root\n password: 123456\n\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\n redis:\n host: 172.16.8.100 # 地址\n port: 6379 # 端口\n database: 0 # 数据库索引\n password: 123456 # 密码,建议生产环境开启\n\n--- #################### MQ 消息队列相关配置 ####################\n\n# rocketmq 配置项,对应 RocketMQProperties 配置类\nrocketmq:\n name-server: 172.16.8.100:9876 # RocketMQ Namesrv\n\nspring:\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\n rabbitmq:\n host: 172.16.8.100 # RabbitMQ 服务的地址\n port: 5672 # RabbitMQ 服务的端口\n username: guest # RabbitMQ 服务的账号\n password: guest # RabbitMQ 服务的密码\n # Kafka 配置项,对应 KafkaProperties 配置类\n kafka:\n bootstrap-servers: 172.16.8.100:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\n\n--- #################### 定时任务相关配置 ####################\n\nxxl:\n job:\n enabled: true # 是否开启调度中心,默认为 true 开启\n admin:\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\n\n--- #################### 服务保障相关配置 ####################\n\n# Lock4j 配置项\nlock4j:\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\n\n--- #################### 监控相关配置 ####################\n\n# Actuator 监控端点的配置项\nmanagement:\n endpoints:\n web:\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\n exposure:\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\n\n# Spring Boot Admin 配置项\nspring:\n boot:\n admin:\n # Spring Boot Admin Client 客户端的相关配置\n client:\n instance:\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\n\n# 日志文件配置\nlogging:\n level:\n # 配置自己写的 MyBatis Mapper 打印日志\n com.iailab.module.system.dal.mysql: debug\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\n #org.springframework.context.support.PostProcessorRegistrationDelegate: ERROR # TODO 芋艿:先禁用,Spring Boot 3.X 存在部分错误的 WARN 提示\n\n--- #################### 微信公众号、小程序相关配置 ####################\nwx:\n mp: # 公众号配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-mp-spring-boot-starter/README.md 文档\n # app-id: wx041349c6f39b268b\n # secret: 5abee519483bc9f8cb37ce280e814bd0\n app-id: wx5b23ba7a5589ecbb # 测试号\n secret: 2a7b3b20c537e52e74afd395eb85f61f\n # 存储配置,解决 AccessToken 的跨节点的共享\n config-storage:\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\n key-prefix: wx # Redis Key 的前缀\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\n miniapp: # 小程序配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-miniapp-spring-boot-starter/README.md 文档\n # appid: wx62056c0d5e8db250\n # secret: 333ae72f41552af1e998fe1f54e1584a\n appid: wx63c280fe3248a3e7 # wenhualian的接口测试号\n secret: 6f270509224a7ae1296bbf1c8cb97aed\n config-storage:\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\n key-prefix: wa # Redis Key 的前缀\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\n\n--- #################### 平台相关配置 ####################\n\n# 平台配置项,设置当前项目所有自定义的配置\niailab:\n env: # 多环境的配置项\n tag: ${HOSTNAME}\n captcha:\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\n security:\n mock-enable: true\n access-log: # 访问日志的配置项\n enable: false\n\njustauth:\n enabled: true\n type:\n DINGTALK: # 钉钉\n client-id: dingvrnreaje3yqvzhxg\n client-secret: i8E6iZyDvZj51JIb0tYsYfVQYOks9Cq1lgryEjFRqC79P3iJcrxEwT6Qk2QvLrLI\n ignore-check-redirect-uri: true\n WECHAT_ENTERPRISE: # 企业微信\n client-id: wwd411c69a39ad2e54\n client-secret: 1wTb7hYxnpT2TUbIeHGXGo7T0odav1ic10mLdyyATOw\n agent-id: 1000004\n ignore-check-redirect-uri: true\n # noinspection SpringBootApplicationYaml\n WECHAT_MINI_APP: # 微信小程序\n client-id: ${wx.miniapp.appid}\n client-secret: ${wx.miniapp.secret}\n ignore-check-redirect-uri: true\n ignore-check-state: true # 微信小程序,不会使用到 state,所以不进行校验\n WECHAT_MP: # 微信公众号\n client-id: ${wx.mp.app-id}\n client-secret: ${wx.mp.secret}\n ignore-check-redirect-uri: true\n cache:\n type: REDIS\n prefix: \'social_auth_state:\' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE::\n timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟\n', 'f37ea401caf32cc692c10e41f4aca090', '2010-05-05 00:00:00', '2024-07-25 08:26:49', 'nacos', '172.16.0.6', 'D', 'a7112341-c9e2-4177-bc5b-0d2e8cf0b3bb', '');
| INSERT INTO `his_config_info` VALUES (82, 123, 'system-server-test.yaml', 'DEFAULT_GROUP', '', 'spring:\r\n cloud:\r\n nacos:\r\n server-addr: @nacos.server@ # Nacos 服务器地址\r\n username: @nacos.username@\r\n password: @nacos.password@\r\n discovery: # 【配置中心】配置项\r\n namespace: @nacos.namespace@ # 命名空间。这里使用 dev 开发环境\r\n group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP\r\n metadata:\r\n version: @nacos.metadata.version@ # 服务实例的版本号,可用于灰度发布\r\n config: # 【注册中心】配置项\r\n namespace: @nacos.namespace@ # 命名空间。这里使用 dev 开发环境\r\n group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP\r\n\r\n--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.100:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n# rocketmq 配置项,对应 RocketMQProperties 配置类\r\nrocketmq:\r\n name-server: 172.16.8.100:9876 # RocketMQ Namesrv\r\n\r\nspring:\r\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\r\n rabbitmq:\r\n host: 172.16.8.100 # RabbitMQ 服务的地址\r\n port: 5672 # RabbitMQ 服务的端口\r\n username: guest # RabbitMQ 服务的账号\r\n password: guest # RabbitMQ 服务的密码\r\n # Kafka 配置项,对应 KafkaProperties 配置类\r\n kafka:\r\n bootstrap-servers: 172.16.8.100:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.system.dal.mysql: debug\r\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\r\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\r\n #org.springframework.context.support.PostProcessorRegistrationDelegate: ERROR # TODO 芋艿:先禁用,Spring Boot 3.X 存在部分错误的 WARN 提示\r\n\r\n--- #################### 微信公众号、小程序相关配置 ####################\r\nwx:\r\n mp: # 公众号配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-mp-spring-boot-starter/README.md 文档\r\n # app-id: wx041349c6f39b268b\r\n # secret: 5abee519483bc9f8cb37ce280e814bd0\r\n app-id: wx5b23ba7a5589ecbb # 测试号\r\n secret: 2a7b3b20c537e52e74afd395eb85f61f\r\n # 存储配置,解决 AccessToken 的跨节点的共享\r\n config-storage:\r\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\r\n key-prefix: wx # Redis Key 的前缀\r\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\r\n miniapp: # 小程序配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-miniapp-spring-boot-starter/README.md 文档\r\n # appid: wx62056c0d5e8db250\r\n # secret: 333ae72f41552af1e998fe1f54e1584a\r\n appid: wx63c280fe3248a3e7 # wenhualian的接口测试号\r\n secret: 6f270509224a7ae1296bbf1c8cb97aed\r\n config-storage:\r\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\r\n key-prefix: wa # Redis Key 的前缀\r\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n captcha:\r\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\r\n security:\r\n mock-enable: true\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n\r\njustauth:\r\n enabled: true\r\n type:\r\n DINGTALK: # 钉钉\r\n client-id: dingvrnreaje3yqvzhxg\r\n client-secret: i8E6iZyDvZj51JIb0tYsYfVQYOks9Cq1lgryEjFRqC79P3iJcrxEwT6Qk2QvLrLI\r\n ignore-check-redirect-uri: true\r\n WECHAT_ENTERPRISE: # 企业微信\r\n client-id: wwd411c69a39ad2e54\r\n client-secret: 1wTb7hYxnpT2TUbIeHGXGo7T0odav1ic10mLdyyATOw\r\n agent-id: 1000004\r\n ignore-check-redirect-uri: true\r\n # noinspection SpringBootApplicationYaml\r\n WECHAT_MINI_APP: # 微信小程序\r\n client-id: ${wx.miniapp.appid}\r\n client-secret: ${wx.miniapp.secret}\r\n ignore-check-redirect-uri: true\r\n ignore-check-state: true # 微信小程序,不会使用到 state,所以不进行校验\r\n WECHAT_MP: # 微信公众号\r\n client-id: ${wx.mp.app-id}\r\n client-secret: ${wx.mp.secret}\r\n ignore-check-redirect-uri: true\r\n cache:\r\n type: REDIS\r\n prefix: \'social_auth_state:\' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE::\r\n timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟\r\n', 'e0f31afcdce4b6149fa94252f7364eee', '2010-05-05 00:00:00', '2024-07-25 08:27:52', 'nacos', '172.16.0.6', 'U', 'a7112341-c9e2-4177-bc5b-0d2e8cf0b3bb', '');
| INSERT INTO `his_config_info` VALUES (80, 124, 'application-test.yaml', 'DEFAULT_GROUP', '', '--- #################### 数据库相关配置 ####################\nspring:\n # 数据源配置项\n autoconfigure:\n exclude:\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\n datasource:\n druid: # Druid 【监控】相关的全局配置\n web-stat-filter:\n enabled: true\n stat-view-servlet:\n enabled: true\n allow: # 设置白名单,不填则允许所有访问\n url-pattern: /druid/*\n login-username: # 控制台管理用户名和密码\n login-password:\n filter:\n stat:\n enabled: true\n log-slow-sql: true # 慢 SQL 记录\n slow-sql-millis: 100\n merge-sql: true\n wall:\n config:\n multi-statement-allow: true\n dynamic: # 多数据源配置\n druid: # Druid 【连接池】相关的全局配置\n initial-size: 1 # 初始连接数\n min-idle: 1 # 最小连接池数量\n max-active: 20 # 最大连接池数量\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\n test-while-idle: true\n test-on-borrow: false\n test-on-return: false\n primary: master\n datasource:\n master:\n url: jdbc:mysql://172.16.8.100:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\n username: root\n password: 123456\n # username: sa # SQL Server 连接的示例\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\n # username: SYSDBA # DM 连接的示例\n # password: SYSDBA # DM 连接的示例\n slave: # 模拟从库,可根据自己需要修改\n lazy: true # 开启懒加载,保证启动速度\n url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\n username: root\n password: 123456\n\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\n redis:\n host: 172.16.8.100 # 地址\n port: 6379 # 端口\n database: 0 # 数据库索引\n password: 123456 # 密码,建议生产环境开启\n\n--- #################### MQ 消息队列相关配置 ####################\n\n# rocketmq 配置项,对应 RocketMQProperties 配置类\nrocketmq:\n name-server: 172.16.8.100:9876 # RocketMQ Namesrv\n\nspring:\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\n rabbitmq:\n host: 172.16.8.100 # RabbitMQ 服务的地址\n port: 5672 # RabbitMQ 服务的端口\n username: guest # RabbitMQ 服务的账号\n password: guest # RabbitMQ 服务的密码\n # Kafka 配置项,对应 KafkaProperties 配置类\n kafka:\n bootstrap-servers: 172.16.8.100:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\n\n--- #################### 定时任务相关配置 ####################\n\nxxl:\n job:\n enabled: true # 是否开启调度中心,默认为 true 开启\n admin:\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\n\n--- #################### 服务保障相关配置 ####################\n\n# Lock4j 配置项\nlock4j:\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\n\n--- #################### 监控相关配置 ####################\n\n# Actuator 监控端点的配置项\nmanagement:\n endpoints:\n web:\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\n exposure:\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\n\n# Spring Boot Admin 配置项\nspring:\n boot:\n admin:\n # Spring Boot Admin Client 客户端的相关配置\n client:\n instance:\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\n\n# 日志文件配置\nlogging:\n level:\n # 配置自己写的 MyBatis Mapper 打印日志\n com.iailab.module.system.dal.mysql: debug\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\n #org.springframework.context.support.PostProcessorRegistrationDelegate: ERROR # TODO 芋艿:先禁用,Spring Boot 3.X 存在部分错误的 WARN 提示\n\n--- #################### 微信公众号、小程序相关配置 ####################\nwx:\n mp: # 公众号配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-mp-spring-boot-starter/README.md 文档\n # app-id: wx041349c6f39b268b\n # secret: 5abee519483bc9f8cb37ce280e814bd0\n app-id: wx5b23ba7a5589ecbb # 测试号\n secret: 2a7b3b20c537e52e74afd395eb85f61f\n # 存储配置,解决 AccessToken 的跨节点的共享\n config-storage:\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\n key-prefix: wx # Redis Key 的前缀\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\n miniapp: # 小程序配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-miniapp-spring-boot-starter/README.md 文档\n # appid: wx62056c0d5e8db250\n # secret: 333ae72f41552af1e998fe1f54e1584a\n appid: wx63c280fe3248a3e7 # wenhualian的接口测试号\n secret: 6f270509224a7ae1296bbf1c8cb97aed\n config-storage:\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\n key-prefix: wa # Redis Key 的前缀\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\n\n--- #################### 平台相关配置 ####################\n\n# 平台配置项,设置当前项目所有自定义的配置\niailab:\n env: # 多环境的配置项\n tag: ${HOSTNAME}\n captcha:\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\n security:\n mock-enable: true\n access-log: # 访问日志的配置项\n enable: false\n\njustauth:\n enabled: true\n type:\n DINGTALK: # 钉钉\n client-id: dingvrnreaje3yqvzhxg\n client-secret: i8E6iZyDvZj51JIb0tYsYfVQYOks9Cq1lgryEjFRqC79P3iJcrxEwT6Qk2QvLrLI\n ignore-check-redirect-uri: true\n WECHAT_ENTERPRISE: # 企业微信\n client-id: wwd411c69a39ad2e54\n client-secret: 1wTb7hYxnpT2TUbIeHGXGo7T0odav1ic10mLdyyATOw\n agent-id: 1000004\n ignore-check-redirect-uri: true\n # noinspection SpringBootApplicationYaml\n WECHAT_MINI_APP: # 微信小程序\n client-id: ${wx.miniapp.appid}\n client-secret: ${wx.miniapp.secret}\n ignore-check-redirect-uri: true\n ignore-check-state: true # 微信小程序,不会使用到 state,所以不进行校验\n WECHAT_MP: # 微信公众号\n client-id: ${wx.mp.app-id}\n client-secret: ${wx.mp.secret}\n ignore-check-redirect-uri: true\n cache:\n type: REDIS\n prefix: \'social_auth_state:\' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE::\n timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟\n', 'f37ea401caf32cc692c10e41f4aca090', '2010-05-05 00:00:00', '2024-07-25 08:33:53', 'nacos', '172.16.0.6', 'D', 'a7112341-c9e2-4177-bc5b-0d2e8cf0b3bb', '');
| INSERT INTO `his_config_info` VALUES (0, 125, 'infra-server-test.yaml', 'DEFAULT_GROUP', 'infra-server', '--- #################### 数据库相关配置 ####################\r\nspring:\r\n\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n# - de.codecentric.boot.admin.server.config.AdminServerAutoConfiguration # 禁用 Spring Boot Admin 的 Server 的自动配置\r\n# - de.codecentric.boot.admin.server.cloud.config.AdminServerDiscoveryAutoConfiguration # 禁用 Spring Boot Admin 的 Server 的自动配置\r\n# - de.codecentric.boot.admin.server.ui.config.AdminServerUiAutoConfiguration # 禁用 Spring Boot Admin 的 Server UI 的自动配置\r\n# - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.100:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n# rocketmq 配置项,对应 RocketMQProperties 配置类\r\nrocketmq:\r\n name-server: 172.16.8.100:9876 # RocketMQ Namesrv\r\n\r\nspring:\r\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\r\n rabbitmq:\r\n host: 172.16.8.100 # RabbitMQ 服务的地址\r\n port: 5672 # RabbitMQ 服务的端口\r\n username: guest # RabbitMQ 服务的账号\r\n password: guest # RabbitMQ 服务的密码\r\n # Kafka 配置项,对应 KafkaProperties 配置类\r\n kafka:\r\n bootstrap-servers: 172.16.8.100:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\r\n\r\n--- #################### 定时任务相关配置 ####################\r\nxxl:\r\n job:\r\n enabled: false # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n # Spring Boot Admin Server 服务端的相关配置\r\n context-path: /admin # 配置 Spring\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.infra.dal.mysql: debug\r\n com.iailab.module.infra.dal.mysql.logger.ApiErrorLogMapper: INFO # 配置 ApiErrorLogMapper 的日志级别为 info,避免和 GlobalExceptionHandler 重复打印\r\n com.iailab.module.infra.dal.mysql.file.FileConfigMapper: INFO # 配置 FileConfigMapper 的日志级别为 info\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n security:\r\n mock-enable: true\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n', 'ad1b3a25fd5dc6c41f11b9dc29f78740', '2010-05-05 00:00:00', '2024-07-25 08:37:01', 'nacos', '172.16.0.6', 'I', 'test', '');
| INSERT INTO `his_config_info` VALUES (0, 126, 'system-server-test.yaml', 'DEFAULT_GROUP', 'system-server', '--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.100:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n# rocketmq 配置项,对应 RocketMQProperties 配置类\r\nrocketmq:\r\n name-server: 172.16.8.100:9876 # RocketMQ Namesrv\r\n\r\nspring:\r\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\r\n rabbitmq:\r\n host: 172.16.8.100 # RabbitMQ 服务的地址\r\n port: 5672 # RabbitMQ 服务的端口\r\n username: guest # RabbitMQ 服务的账号\r\n password: guest # RabbitMQ 服务的密码\r\n # Kafka 配置项,对应 KafkaProperties 配置类\r\n kafka:\r\n bootstrap-servers: 172.16.8.100:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.system.dal.mysql: debug\r\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\r\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\r\n #org.springframework.context.support.PostProcessorRegistrationDelegate: ERROR # TODO 芋艿:先禁用,Spring Boot 3.X 存在部分错误的 WARN 提示\r\n\r\n--- #################### 微信公众号、小程序相关配置 ####################\r\nwx:\r\n mp: # 公众号配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-mp-spring-boot-starter/README.md 文档\r\n # app-id: wx041349c6f39b268b\r\n # secret: 5abee519483bc9f8cb37ce280e814bd0\r\n app-id: wx5b23ba7a5589ecbb # 测试号\r\n secret: 2a7b3b20c537e52e74afd395eb85f61f\r\n # 存储配置,解决 AccessToken 的跨节点的共享\r\n config-storage:\r\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\r\n key-prefix: wx # Redis Key 的前缀\r\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\r\n miniapp: # 小程序配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-miniapp-spring-boot-starter/README.md 文档\r\n # appid: wx62056c0d5e8db250\r\n # secret: 333ae72f41552af1e998fe1f54e1584a\r\n appid: wx63c280fe3248a3e7 # wenhualian的接口测试号\r\n secret: 6f270509224a7ae1296bbf1c8cb97aed\r\n config-storage:\r\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\r\n key-prefix: wa # Redis Key 的前缀\r\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n captcha:\r\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\r\n security:\r\n mock-enable: true\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n\r\njustauth:\r\n enabled: true\r\n type:\r\n DINGTALK: # 钉钉\r\n client-id: dingvrnreaje3yqvzhxg\r\n client-secret: i8E6iZyDvZj51JIb0tYsYfVQYOks9Cq1lgryEjFRqC79P3iJcrxEwT6Qk2QvLrLI\r\n ignore-check-redirect-uri: true\r\n WECHAT_ENTERPRISE: # 企业微信\r\n client-id: wwd411c69a39ad2e54\r\n client-secret: 1wTb7hYxnpT2TUbIeHGXGo7T0odav1ic10mLdyyATOw\r\n agent-id: 1000004\r\n ignore-check-redirect-uri: true\r\n # noinspection SpringBootApplicationYaml\r\n WECHAT_MINI_APP: # 微信小程序\r\n client-id: ${wx.miniapp.appid}\r\n client-secret: ${wx.miniapp.secret}\r\n ignore-check-redirect-uri: true\r\n ignore-check-state: true # 微信小程序,不会使用到 state,所以不进行校验\r\n WECHAT_MP: # 微信公众号\r\n client-id: ${wx.mp.app-id}\r\n client-secret: ${wx.mp.secret}\r\n ignore-check-redirect-uri: true\r\n cache:\r\n type: REDIS\r\n prefix: \'social_auth_state:\' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE::\r\n timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟\r\n', 'c26b5f86e4218b1db4d3870d7d8a125b', '2010-05-05 00:00:00', '2024-07-25 08:37:42', 'nacos', '172.16.0.6', 'I', 'test', '');
| INSERT INTO `his_config_info` VALUES (55, 127, 'application.yaml', 'DEFAULT_GROUP', '', 'spring:\r\n main:\r\n allow-circular-references: true # 允许循环依赖,因为项目是三层架构,无法避免这个情况。\r\n allow-bean-definition-overriding: true # 允许 Bean 覆盖,例如说 Feign 等会存在重复定义的服务\r\n\r\n # Servlet 配置\r\n servlet:\r\n # 文件上传相关配置项\r\n multipart:\r\n max-file-size: 16MB # 单个文件大小\r\n max-request-size: 32MB # 设置总上传的文件大小\r\n mvc:\r\n pathmatch:\r\n matching-strategy: ANT_PATH_MATCHER # 解决 SpringFox 与 SpringBoot 2.6.x 不兼容的问题,参见 SpringFoxHandlerProviderBeanPostProcessor 类\r\n\r\n # Jackson 配置项\r\n jackson:\r\n serialization:\r\n write-dates-as-timestamps: true # 设置 LocalDateTime 的格式,使用时间戳\r\n write-date-timestamps-as-nanoseconds: false # 设置不使用 nanoseconds 的格式。例如说 1611460870.401,而是直接 1611460870401\r\n write-durations-as-timestamps: true # 设置 Duration 的格式,使用时间戳\r\n fail-on-empty-beans: false # 允许序列化无属性的 Bean\r\n\r\n # Cache 配置项\r\n cache:\r\n type: REDIS\r\n redis:\r\n time-to-live: 1h # 设置过期时间为 1 小时\r\n\r\n--- #################### 接口文档配置 ####################\r\n\r\nspringdoc:\r\n api-docs:\r\n enabled: true # 1. 是否开启 Swagger 接文档的元数据\r\n path: /v3/api-docs\r\n swagger-ui:\r\n enabled: true # 2.1 是否开启 Swagger 文档的官方 UI 界面\r\n path: /swagger-ui.html\r\n default-flat-param-object: true # 参见 https://doc.xiaominfo.com/docs/faq/v4/knife4j-parameterobject-flat-param 文档\r\n\r\nknife4j:\r\n enable: true # 2.2 是否开启 Swagger 文档的 Knife4j UI 界面\r\n setting:\r\n language: zh_cn\r\n\r\n# MyBatis Plus 的配置项\r\nmybatis-plus:\r\n configuration:\r\n map-underscore-to-camel-case: true # 虽然默认为 true ,但是还是显示去指定下。\r\n global-config:\r\n db-config:\r\n id-type: NONE # “智能”模式,基于 IdTypeEnvironmentPostProcessor + 数据源的类型,自动适配成 AUTO、INPUT 模式。\r\n # id-type: AUTO # 自增 ID,适合 MySQL 等直接自增的数据库\r\n # id-type: INPUT # 用户输入 ID,适合 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库\r\n # id-type: ASSIGN_ID # 分配 ID,默认使用雪花算法。注意,Oracle、PostgreSQL、Kingbase、DB2、H2 数据库时,需要去除实体类上的 @KeySequence 注解\r\n logic-delete-value: 1 # 逻辑已删除值(默认为 1)\r\n logic-not-delete-value: 0 # 逻辑未删除值(默认为 0)\r\n banner: false # 关闭控制台的 Banner 打印\r\n type-aliases-package: ${iailab.info.base-package}.dal.dataobject\r\n encryptor:\r\n password: XDV71a+xqStEA3WH # 加解密的秘钥,可使用 https://www.imaegoo.com/2020/aes-key-generator/ 网站生成\r\n\r\nmybatis-plus-join:\r\n banner: false # 关闭控制台的 Banner 打印\r\n\r\n# Spring Data Redis 配置\r\nspring:\r\n data:\r\n redis:\r\n repositories:\r\n enabled: false # 项目未使用到 Spring Data Redis 的 Repository,所以直接禁用,保证启动速度\r\n\r\n# VO 转换(数据翻译)相关\r\neasy-trans:\r\n is-enable-global: true # 启用全局翻译(拦截所有 SpringMVC ResponseBody 进行自动翻译 )。如果对于性能要求很高可关闭此配置,或通过 @IgnoreTrans 忽略某个接口\r\n is-enable-cloud: false # 禁用 TransType.RPC 微服务模式\r\n\r\n--- #################### RPC 远程调用相关配置 ####################\r\n\r\n--- #################### 消息队列相关 ####################\r\n\r\n# rocketmq 配置项,对应 RocketMQProperties 配置类\r\nrocketmq:\r\n # Producer 配置项\r\n producer:\r\n group: ${spring.application.name}_PRODUCER # 生产者分组\r\n\r\nspring:\r\n # Kafka 配置项,对应 KafkaProperties 配置类\r\n kafka:\r\n # Kafka Producer 配置项\r\n producer:\r\n acks: 1 # 0-不应答。1-leader 应答。all-所有 leader 和 follower 应答。\r\n retries: 3 # 发送失败时,重试发送的次数\r\n value-serializer: org.springframework.kafka.support.serializer.JsonSerializer # 消息的 value 的序列化\r\n # Kafka Consumer 配置项\r\n consumer:\r\n auto-offset-reset: earliest # 设置消费者分组最初的消费进度为 earliest 。可参考博客 https://blog.csdn.net/lishuangzhe7047/article/details/74530417 理解\r\n value-deserializer: org.springframework.kafka.support.serializer.JsonDeserializer\r\n properties:\r\n spring.json.trusted.packages: \'*\'\r\n # Kafka Consumer Listener 监听器配置\r\n listener:\r\n missing-topics-fatal: false # 消费监听接口监听的主题不存在时,默认会报错。所以通过设置为 false ,解决报错\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n executor:\r\n appname: ${spring.application.name} # 执行器 AppName\r\n logpath: ${user.home}/logs/xxl-job/${spring.application.name} # 执行器运行日志文件存储磁盘路径\r\n accessToken: default_token # 执行器通讯TOKEN\r\n\r\n--- #################### 验证码相关配置 ####################\r\n\r\naj:\r\n captcha:\r\n jigsaw: classpath:images/jigsaw # 滑动验证,底图路径,不配置将使用默认图片;以 classpath: 开头,取 resource 目录下路径\r\n pic-click: classpath:images/pic-click # 滑动验证,底图路径,不配置将使用默认图片;以 classpath: 开头,取 resource 目录下路径\r\n cache-type: redis # 缓存 local/redis...\r\n cache-number: 1000 # local 缓存的阈值,达到这个值,清除缓存\r\n timing-clear: 180 # local定时清除过期缓存(单位秒),设置为0代表不执行\r\n type: blockPuzzle # 验证码类型 default两种都实例化。 blockPuzzle 滑块拼图 clickWord 文字点选\r\n water-mark: iailab # 右下角水印文字(我的水印),可使用 https://tool.chinaz.com/tools/unicode.aspx 中文转 Unicode,Linux 可能需要转 unicode\r\n interference-options: 0 # 滑动干扰项(0/1/2)\r\n req-frequency-limit-enable: false # 接口请求次数一分钟限制是否开启 true|false\r\n req-get-lock-limit: 5 # 验证失败5次,get接口锁定\r\n req-get-lock-seconds: 10 # 验证失败后,锁定时间间隔\r\n req-get-minute-limit: 30 # get 接口一分钟内请求数限制\r\n req-check-minute-limit: 60 # check 接口一分钟内请求数限制\r\n req-verify-minute-limit: 60 # verify 接口一分钟内请求数限制\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\niailab:\r\n info:\r\n version: 1.0.0\r\n base-package: com.iailab.module.system\r\n web:\r\n admin-ui:\r\n url: http://dashboard.iailab.iocoder.cn # Admin 管理后台 UI 的地址\r\n swagger:\r\n title: 管理后台\r\n description: 提供管理员管理的所有功能\r\n version: ${iailab.info.version}\r\n base-package: ${iailab.info.base-package}\r\n captcha:\r\n enable: true # 验证码的开关,默认为 true;\r\n tenant: # 多租户相关配置项\r\n enable: true\r\n ignore-urls:\r\n - /admin-api/system/tenant/get-id-by-name # 基于名字获取租户,不许带租户编号\r\n - /admin-api/system/tenant/get-by-website # 基于域名获取租户,不许带租户编号\r\n - /admin-api/system/captcha/get-image # 获取图片验证码,和租户无关\r\n - /admin-api/system/captcha/get # 获取图片验证码,和租户无关\r\n - /admin-api/system/captcha/check # 校验图片验证码,和租户无关\r\n - /admin-api/system/sms/callback/* # 短信回调接口,无法带上租户编号\r\n - /rpc-api/system/tenant/valid # 防止递归。避免调用 /rpc-api/system/tenant/valid 接口时,又去触发 /rpc-api/system/tenant/valid 去校验\r\n - /rpc-api/system/tenant/id-list # 获得租户列表的时候,无需传递租户编号\r\n - /rpc-api/system/oauth2/token/check # 访问令牌校验时,无需传递租户编号;主要解决上传文件的场景,前端不会传递 tenant-id!\r\n ignore-tables:\r\n - system_tenant\r\n - system_tenant_package\r\n - system_dict_data\r\n - system_dict_type\r\n - system_error_code\r\n - system_menu\r\n - system_sms_channel\r\n - system_sms_template\r\n - system_sms_log\r\n - system_sensitive_word\r\n - system_oauth2_client\r\n - system_mail_account\r\n - system_mail_template\r\n - system_mail_log\r\n - system_notify_template\r\n sms-code: # 短信验证码相关的配置项\r\n expire-times: 10m\r\n send-frequency: 1m\r\n send-maximum-quantity-per-day: 10\r\n begin-code: 9999 # 这里配置 9999 的原因是,测试方便。\r\n end-code: 9999 # 这里配置 9999 的原因是,测试方便。\r\n\r\ndebug: false', '35f2867f44d5442ad723ea6ad4f70e1c', '2010-05-05 00:00:00', '2024-07-25 08:38:03', 'nacos', '172.16.0.6', 'D', 'a7112341-c9e2-4177-bc5b-0d2e8cf0b3bb', '');
| INSERT INTO `his_config_info` VALUES (67, 128, 'application-dev.yaml', 'DEFAULT_GROUP', '', '--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 5 # 初始连接数\r\n min-idle: 10 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n username: root\r\n password: 123456\r\n slave: # 模拟从库,可根据自己需要修改 # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 127.0.0.1 # 地址\r\n port: 6379 # 端口\r\n database: 1 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n# rocketmq 配置项,对应 RocketMQProperties 配置类\r\nrocketmq:\r\n name-server: 127.0.0.1:9876 # RocketMQ Namesrv\r\n\r\nspring:\r\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\r\n rabbitmq:\r\n host: 127.0.0.1 # RabbitMQ 服务的地址\r\n port: 5672 # RabbitMQ 服务的端口\r\n username: guest # RabbitMQ 服务的账号\r\n password: guest # RabbitMQ 服务的密码\r\n # Kafka 配置项,对应 KafkaProperties 配置类\r\n kafka:\r\n bootstrap-servers: 127.0.0.1:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\r\n\r\n--- #################### 定时任务相关配置 ####################\r\nxxl:\r\n job:\r\n admin:\r\n addresses: http://127.0.0.1:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n # Spring Boot Admin Server 服务端的相关配置\r\n context-path: /admin # 配置 Spring\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n xss:\r\n enable: false\r\n exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系\r\n - ${spring.boot.admin.context-path}/** # 不处理 Spring Boot Admin 的请求\r\n - ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求\r\n demo: true # 开启演示模式\r\n', '9f26684015d3eff63033fbf295929f8a', '2010-05-05 00:00:00', '2024-07-25 08:38:07', 'nacos', '172.16.0.6', 'D', 'a7112341-c9e2-4177-bc5b-0d2e8cf0b3bb', '');
| INSERT INTO `his_config_info` VALUES (78, 129, 'data-server-local.yaml', 'DEFAULT_GROUP', '', '--- #################### 注册中心 + 配置中心相关配置 ####################\r\n\r\nspring:\r\n cloud:\r\n nacos:\r\n server-addr: @nacos.server@ # Nacos 服务器地址\r\n username: @nacos.username@\r\n password: @nacos.password@\r\n discovery: # 【配置中心】配置项\r\n namespace: @nacos.namespace@ # 命名空间。这里使用 dev 开发环境\r\n group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP\r\n metadata:\r\n version: @nacos.metadata.version@ # 服务实例的版本号,可用于灰度发布\r\n config: # 【注册中心】配置项\r\n namespace: @nacos.namespace@ # 命名空间。这里使用 dev 开发环境\r\n group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP\r\n\r\n--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://127.0.0.1:3306/iailab_ntt_data?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/iailab_ntt_data?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n# rocketmq 配置项,对应 RocketMQProperties 配置类\r\nrocketmq:\r\n name-server: 127.0.0.1:9876 # RocketMQ Namesrv\r\n\r\nspring:\r\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\r\n rabbitmq:\r\n host: 127.0.0.1 # RabbitMQ 服务的地址\r\n port: 5672 # RabbitMQ 服务的端口\r\n username: guest # RabbitMQ 服务的账号\r\n password: guest # RabbitMQ 服务的密码\r\n # Kafka 配置项,对应 KafkaProperties 配置类\r\n kafka:\r\n bootstrap-servers: 127.0.0.1:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://127.0.0.1:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.system.dal.mysql: debug\r\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\r\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n captcha:\r\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\r\n security:\r\n mock-enable: true\r\n xss:\r\n enable: false\r\n exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系\r\n - ${spring.boot.admin.context-path}/** # 不处理 Spring Boot Admin 的请求\r\n - ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n demo: false # 关闭演示模式\r\n\r\ninflux-db:\r\n org: IAILab\r\n bucket: whs_data\r\n token: gxhXM4H1VOBv07kYXKWyPag_zJ8_oChP4ooZ3u-BkSae9LS8R1wWzJYlmUjL3Qe9t1hDU3DtoYD5HTgjWoTGOg==\r\n url: http://localhost:8086\r\n\r\niems:\r\n upload-dir: D:/DLUT/upload/\r\n', '969642c772e2840f730f055b17ee5c13', '2010-05-05 00:00:00', '2024-07-25 08:38:24', 'nacos', '172.16.0.6', 'D', 'a7112341-c9e2-4177-bc5b-0d2e8cf0b3bb', '');
| INSERT INTO `his_config_info` VALUES (82, 130, 'system-server-test.yaml', 'DEFAULT_GROUP', '', '--- #################### 数据库相关配置 ####################\nspring:\n # 数据源配置项\n autoconfigure:\n exclude:\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\n datasource:\n druid: # Druid 【监控】相关的全局配置\n web-stat-filter:\n enabled: true\n stat-view-servlet:\n enabled: true\n allow: # 设置白名单,不填则允许所有访问\n url-pattern: /druid/*\n login-username: # 控制台管理用户名和密码\n login-password:\n filter:\n stat:\n enabled: true\n log-slow-sql: true # 慢 SQL 记录\n slow-sql-millis: 100\n merge-sql: true\n wall:\n config:\n multi-statement-allow: true\n dynamic: # 多数据源配置\n druid: # Druid 【连接池】相关的全局配置\n initial-size: 1 # 初始连接数\n min-idle: 1 # 最小连接池数量\n max-active: 20 # 最大连接池数量\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\n test-while-idle: true\n test-on-borrow: false\n test-on-return: false\n primary: master\n datasource:\n master:\n url: jdbc:mysql://172.16.8.100:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\n username: root\n password: 123456\n # username: sa # SQL Server 连接的示例\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\n # username: SYSDBA # DM 连接的示例\n # password: SYSDBA # DM 连接的示例\n slave: # 模拟从库,可根据自己需要修改\n lazy: true # 开启懒加载,保证启动速度\n url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\n username: root\n password: 123456\n\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\n redis:\n host: 172.16.8.100 # 地址\n port: 6379 # 端口\n database: 0 # 数据库索引\n password: 123456 # 密码,建议生产环境开启\n\n--- #################### MQ 消息队列相关配置 ####################\n\n# rocketmq 配置项,对应 RocketMQProperties 配置类\nrocketmq:\n name-server: 172.16.8.100:9876 # RocketMQ Namesrv\n\nspring:\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\n rabbitmq:\n host: 172.16.8.100 # RabbitMQ 服务的地址\n port: 5672 # RabbitMQ 服务的端口\n username: guest # RabbitMQ 服务的账号\n password: guest # RabbitMQ 服务的密码\n # Kafka 配置项,对应 KafkaProperties 配置类\n kafka:\n bootstrap-servers: 172.16.8.100:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\n\n--- #################### 定时任务相关配置 ####################\n\nxxl:\n job:\n enabled: true # 是否开启调度中心,默认为 true 开启\n admin:\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\n\n--- #################### 服务保障相关配置 ####################\n\n# Lock4j 配置项\nlock4j:\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\n\n--- #################### 监控相关配置 ####################\n\n# Actuator 监控端点的配置项\nmanagement:\n endpoints:\n web:\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\n exposure:\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\n\n# Spring Boot Admin 配置项\nspring:\n boot:\n admin:\n # Spring Boot Admin Client 客户端的相关配置\n client:\n instance:\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\n\n# 日志文件配置\nlogging:\n level:\n # 配置自己写的 MyBatis Mapper 打印日志\n com.iailab.module.system.dal.mysql: debug\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\n #org.springframework.context.support.PostProcessorRegistrationDelegate: ERROR # TODO 芋艿:先禁用,Spring Boot 3.X 存在部分错误的 WARN 提示\n\n--- #################### 微信公众号、小程序相关配置 ####################\nwx:\n mp: # 公众号配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-mp-spring-boot-starter/README.md 文档\n # app-id: wx041349c6f39b268b\n # secret: 5abee519483bc9f8cb37ce280e814bd0\n app-id: wx5b23ba7a5589ecbb # 测试号\n secret: 2a7b3b20c537e52e74afd395eb85f61f\n # 存储配置,解决 AccessToken 的跨节点的共享\n config-storage:\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\n key-prefix: wx # Redis Key 的前缀\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\n miniapp: # 小程序配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-miniapp-spring-boot-starter/README.md 文档\n # appid: wx62056c0d5e8db250\n # secret: 333ae72f41552af1e998fe1f54e1584a\n appid: wx63c280fe3248a3e7 # wenhualian的接口测试号\n secret: 6f270509224a7ae1296bbf1c8cb97aed\n config-storage:\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\n key-prefix: wa # Redis Key 的前缀\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\n\n--- #################### 平台相关配置 ####################\n\n# 平台配置项,设置当前项目所有自定义的配置\niailab:\n env: # 多环境的配置项\n tag: ${HOSTNAME}\n captcha:\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\n security:\n mock-enable: true\n access-log: # 访问日志的配置项\n enable: false\n\njustauth:\n enabled: true\n type:\n DINGTALK: # 钉钉\n client-id: dingvrnreaje3yqvzhxg\n client-secret: i8E6iZyDvZj51JIb0tYsYfVQYOks9Cq1lgryEjFRqC79P3iJcrxEwT6Qk2QvLrLI\n ignore-check-redirect-uri: true\n WECHAT_ENTERPRISE: # 企业微信\n client-id: wwd411c69a39ad2e54\n client-secret: 1wTb7hYxnpT2TUbIeHGXGo7T0odav1ic10mLdyyATOw\n agent-id: 1000004\n ignore-check-redirect-uri: true\n # noinspection SpringBootApplicationYaml\n WECHAT_MINI_APP: # 微信小程序\n client-id: ${wx.miniapp.appid}\n client-secret: ${wx.miniapp.secret}\n ignore-check-redirect-uri: true\n ignore-check-state: true # 微信小程序,不会使用到 state,所以不进行校验\n WECHAT_MP: # 微信公众号\n client-id: ${wx.mp.app-id}\n client-secret: ${wx.mp.secret}\n ignore-check-redirect-uri: true\n cache:\n type: REDIS\n prefix: \'social_auth_state:\' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE::\n timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟\n', 'f37ea401caf32cc692c10e41f4aca090', '2010-05-05 00:00:00', '2024-07-25 08:38:27', 'nacos', '172.16.0.6', 'D', 'a7112341-c9e2-4177-bc5b-0d2e8cf0b3bb', '');
| INSERT INTO `his_config_info` VALUES (77, 131, 'model-server-local.yaml', 'DEFAULT_GROUP', '', '--- #################### 注册中心 + 配置中心相关配置 ####################\r\n\r\nspring:\r\n cloud:\r\n nacos:\r\n server-addr: @nacos.server@ # Nacos 服务器地址\r\n username: @nacos.username@\r\n password: @nacos.password@\r\n discovery: # 【配置中心】配置项\r\n namespace: @nacos.namespace@ # 命名空间。这里使用 dev 开发环境\r\n group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP\r\n metadata:\r\n version: @nacos.metadata.version@ # 服务实例的版本号,可用于灰度发布\r\n config: # 【注册中心】配置项\r\n namespace: @nacos.namespace@ # 命名空间。这里使用 dev 开发环境\r\n group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP\r\n\r\n--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://127.0.0.1:3306/iailab_ntt_model?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/iailab_ntt_model?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://127.0.0.1:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.system.dal.mysql: debug\r\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\r\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n is-dev: y\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n captcha:\r\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\r\n security:\r\n mock-enable: true\r\n xss:\r\n enable: false\r\n exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系\r\n - ${spring.boot.admin.context-path}/** # 不处理 Spring Boot Admin 的请求\r\n - ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n demo: false # 关闭演示模式\r\n\r\n\r\noadp:\r\n domain: http://172.16.1.148:6010\r\n\r\ninflux-db:\r\n org: IAILab\r\n bucket: whs_data\r\n token: 0p9sXgDxo4hyZ-hxhV7behQkto-8rD5GD0mTKb66_FHaDn_NoE1zusCP8fJznwfTdpttAjj7bEOeNrpt7cbRQw==\r\n url: http://localhost:8086\r\n\r\niems:\r\n upload: C:/DLUT/nginx/static/knowledge\r\n\r\ndata:\r\n domain: http://127.0.0.1:8980\r\n\r\n\r\n\r\n', 'a4e76876139eef48f15daeb2658cd0c6', '2010-05-05 00:00:00', '2024-07-25 08:38:30', 'nacos', '172.16.0.6', 'D', 'a7112341-c9e2-4177-bc5b-0d2e8cf0b3bb', '');
| INSERT INTO `his_config_info` VALUES (0, 132, 'report-server-test.yaml', 'DEFAULT_GROUP', 'report-server', '--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.100:3306/iailab_ntt_model?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/iailab_ntt_model?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://127.0.0.1:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.system.dal.mysql: debug\r\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\r\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n is-dev: y\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n captcha:\r\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\r\n security:\r\n mock-enable: true\r\n xss:\r\n enable: false\r\n exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系\r\n - ${spring.boot.admin.context-path}/** # 不处理 Spring Boot Admin 的请求\r\n - ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n demo: false # 关闭演示模式\r\n\r\n\r\noadp:\r\n domain: http://172.16.1.148:6010\r\n\r\ninflux-db:\r\n org: IAILab\r\n bucket: whs_data\r\n token: 0p9sXgDxo4hyZ-hxhV7behQkto-8rD5GD0mTKb66_FHaDn_NoE1zusCP8fJznwfTdpttAjj7bEOeNrpt7cbRQw==\r\n url: http://localhost:8086\r\n\r\niems:\r\n upload: C:/DLUT/nginx/static/knowledge\r\n\r\ndata:\r\n domain: http://172.16.8.100:8980', '565ea136d06c02ff547f95be35df04f4', '2010-05-05 00:00:00', '2024-07-25 08:45:59', 'nacos', '172.16.0.6', 'I', 'test', '');
| INSERT INTO `his_config_info` VALUES (85, 133, 'report-server-test.yaml', 'DEFAULT_GROUP', 'report-server', '--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.100:3306/iailab_ntt_model?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/iailab_ntt_model?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://127.0.0.1:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.system.dal.mysql: debug\r\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\r\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n is-dev: y\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n captcha:\r\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\r\n security:\r\n mock-enable: true\r\n xss:\r\n enable: false\r\n exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系\r\n - ${spring.boot.admin.context-path}/** # 不处理 Spring Boot Admin 的请求\r\n - ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n demo: false # 关闭演示模式\r\n\r\n\r\noadp:\r\n domain: http://172.16.1.148:6010\r\n\r\ninflux-db:\r\n org: IAILab\r\n bucket: whs_data\r\n token: 0p9sXgDxo4hyZ-hxhV7behQkto-8rD5GD0mTKb66_FHaDn_NoE1zusCP8fJznwfTdpttAjj7bEOeNrpt7cbRQw==\r\n url: http://localhost:8086\r\n\r\niems:\r\n upload: C:/DLUT/nginx/static/knowledge\r\n\r\ndata:\r\n domain: http://172.16.8.100:8980', '565ea136d06c02ff547f95be35df04f4', '2010-05-05 00:00:00', '2024-07-25 08:46:40', 'nacos', '172.16.0.6', 'D', 'test', '');
| INSERT INTO `his_config_info` VALUES (0, 134, 'model-server-test.yaml', 'DEFAULT_GROUP', 'model-server', '--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.100:3306/iailab_ntt_model?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/iailab_ntt_model?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://127.0.0.1:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.system.dal.mysql: debug\r\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\r\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n is-dev: y\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n captcha:\r\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\r\n security:\r\n mock-enable: true\r\n xss:\r\n enable: false\r\n exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系\r\n - ${spring.boot.admin.context-path}/** # 不处理 Spring Boot Admin 的请求\r\n - ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n demo: false # 关闭演示模式\r\n\r\n\r\noadp:\r\n domain: http://172.16.1.148:6010\r\n\r\ninflux-db:\r\n org: IAILab\r\n bucket: whs_data\r\n token: 0p9sXgDxo4hyZ-hxhV7behQkto-8rD5GD0mTKb66_FHaDn_NoE1zusCP8fJznwfTdpttAjj7bEOeNrpt7cbRQw==\r\n url: http://localhost:8086\r\n\r\niems:\r\n upload: C:/DLUT/nginx/static/knowledge\r\n\r\ndata:\r\n domain: http://172.16.8.100:8980', '565ea136d06c02ff547f95be35df04f4', '2010-05-05 00:00:00', '2024-07-25 08:47:42', 'nacos', '172.16.0.6', 'I', 'test', '');
| INSERT INTO `his_config_info` VALUES (0, 135, 'report-server-test.yaml', 'DEFAULT_GROUP', 'report-server', '--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.100:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://172.16.8.100:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.report.dal.mysql: debug\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n security:\r\n mock-enable: true\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n', 'ff39f212949a723b6b7ef46bb325dce0', '2010-05-05 00:00:00', '2024-07-25 08:48:48', 'nacos', '172.16.0.6', 'I', 'test', '');
| INSERT INTO `his_config_info` VALUES (0, 136, 'data-server-test.yaml', 'DEFAULT_GROUP', 'data-server', '--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.100:3306/iailab_ntt_data?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://172.16.8.100:3306/iailab_ntt_data?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n# rocketmq 配置项,对应 RocketMQProperties 配置类\r\nrocketmq:\r\n name-server: 172.16.8.100:9876 # RocketMQ Namesrv\r\n\r\nspring:\r\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\r\n rabbitmq:\r\n host: 172.16.8.100 # RabbitMQ 服务的地址\r\n port: 5672 # RabbitMQ 服务的端口\r\n username: guest # RabbitMQ 服务的账号\r\n password: guest # RabbitMQ 服务的密码\r\n # Kafka 配置项,对应 KafkaProperties 配置类\r\n kafka:\r\n bootstrap-servers: 172.16.8.100:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.system.dal.mysql: debug\r\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\r\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n captcha:\r\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\r\n security:\r\n mock-enable: true\r\n xss:\r\n enable: false\r\n exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系\r\n - ${spring.boot.admin.context-path}/** # 不处理 Spring Boot Admin 的请求\r\n - ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n demo: false # 关闭演示模式\r\n\r\ninflux-db:\r\n org: IAILab\r\n bucket: whs_data\r\n token: gxhXM4H1VOBv07kYXKWyPag_zJ8_oChP4ooZ3u-BkSae9LS8R1wWzJYlmUjL3Qe9t1hDU3DtoYD5HTgjWoTGOg==\r\n url: http://localhost:8086\r\n\r\niems:\r\n upload-dir: D:/DLUT/upload/\r\n', '28f8222d02066ba163b61c389604de0c', '2010-05-05 00:00:00', '2024-07-25 08:50:03', 'nacos', '172.16.0.6', 'I', 'test', '');
| INSERT INTO `his_config_info` VALUES (0, 137, 'bpm-server-test.yaml', 'DEFAULT_GROUP', 'bpm-server', 'spring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.1003306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.bpm.dal.mysql: info\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n security:\r\n mock-enable: true\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n demo: false # 关闭演示模式\r\n', '6295fd1e0dd7b62a0c4ae2a77afe44a1', '2010-05-05 00:00:00', '2024-07-25 08:52:19', 'nacos', '172.16.0.6', 'I', 'test', '');
| INSERT INTO `his_config_info` VALUES (89, 138, 'bpm-server-test.yaml', 'DEFAULT_GROUP', 'bpm-server', 'spring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.1003306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.bpm.dal.mysql: info\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n security:\r\n mock-enable: true\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n demo: false # 关闭演示模式\r\n', '6295fd1e0dd7b62a0c4ae2a77afe44a1', '2010-05-05 00:00:00', '2024-07-25 08:59:32', 'nacos', '172.16.0.6', 'U', 'test', '');
| INSERT INTO `his_config_info` VALUES (95, 139, 'bpm-server-dev.yaml', 'DEFAULT_GROUP', 'bpm-server', 'spring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.1003306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.bpm.dal.mysql: info\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n security:\r\n mock-enable: true\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n demo: false # 关闭演示模式\r\n', '6295fd1e0dd7b62a0c4ae2a77afe44a1', '2010-05-05 00:00:00', '2024-07-30 08:15:39', 'nacos', '0:0:0:0:0:0:0:1', 'U', 'dev', '');
| INSERT INTO `his_config_info` VALUES (95, 140, 'bpm-server-dev.yaml', 'DEFAULT_GROUP', 'bpm-server', 'spring:\n # 数据源配置项\n autoconfigure:\n exclude:\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\n datasource:\n druid: # Druid 【监控】相关的全局配置\n web-stat-filter:\n enabled: true\n stat-view-servlet:\n enabled: true\n allow: # 设置白名单,不填则允许所有访问\n url-pattern: /druid/*\n login-username: # 控制台管理用户名和密码\n login-password:\n filter:\n stat:\n enabled: true\n log-slow-sql: true # 慢 SQL 记录\n slow-sql-millis: 100\n merge-sql: true\n wall:\n config:\n multi-statement-allow: true\n dynamic: # 多数据源配置\n druid: # Druid 【连接池】相关的全局配置\n initial-size: 1 # 初始连接数\n min-idle: 1 # 最小连接池数量\n max-active: 20 # 最大连接池数量\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\n test-while-idle: true\n test-on-borrow: false\n test-on-return: false\n primary: master\n datasource:\n master:\n url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\n # url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\n username: root\n password: 123456\n # username: sa # SQL Server 连接的示例\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\n # username: SYSDBA # DM 连接的示例\n # password: SYSDBA # DM 连接的示例\n slave: # 模拟从库,可根据自己需要修改\n lazy: true # 开启懒加载,保证启动速度\n url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\n username: root\n password: 123456\n\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\n redis:\n host: 127.0.0.1 # 地址\n port: 6379 # 端口\n database: 0 # 数据库索引\n password: 123456 # 密码,建议生产环境开启\n\n--- #################### MQ 消息队列相关配置 ####################\n\n--- #################### 定时任务相关配置 ####################\n\nxxl:\n job:\n enabled: true # 是否开启调度中心,默认为 true 开启\n admin:\n addresses: http://127.0.0.1:9090/xxl-job-admin # 调度中心部署跟地址\n\n--- #################### 服务保障相关配置 ####################\n\n# Lock4j 配置项\nlock4j:\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\n\n--- #################### 监控相关配置 ####################\n\n# Actuator 监控端点的配置项\nmanagement:\n endpoints:\n web:\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\n exposure:\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\n\n# Spring Boot Admin 配置项\nspring:\n boot:\n admin:\n # Spring Boot Admin Client 客户端的相关配置\n client:\n instance:\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\n\n# 日志文件配置\nlogging:\n level:\n # 配置自己写的 MyBatis Mapper 打印日志\n com.iailab.module.bpm.dal.mysql: info\n\n--- #################### 平台相关配置 ####################\n\n# 平台配置项,设置当前项目所有自定义的配置\niailab:\n env: # 多环境的配置项\n tag: ${HOSTNAME}\n security:\n mock-enable: true\n access-log: # 访问日志的配置项\n enable: false\n demo: false # 关闭演示模式\n', '117dc462c4daf5b84b020fd1591b9beb', '2010-05-05 00:00:00', '2024-07-30 08:16:59', 'nacos', '0:0:0:0:0:0:0:1', 'U', 'dev', '');
| INSERT INTO `his_config_info` VALUES (91, 141, 'system-server-dev.yaml', 'DEFAULT_GROUP', 'system-server', '--- #################### 数据库相关配置 ####################\r\nspring:\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.100:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n# rocketmq 配置项,对应 RocketMQProperties 配置类\r\nrocketmq:\r\n name-server: 172.16.8.100:9876 # RocketMQ Namesrv\r\n\r\nspring:\r\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\r\n rabbitmq:\r\n host: 172.16.8.100 # RabbitMQ 服务的地址\r\n port: 5672 # RabbitMQ 服务的端口\r\n username: guest # RabbitMQ 服务的账号\r\n password: guest # RabbitMQ 服务的密码\r\n # Kafka 配置项,对应 KafkaProperties 配置类\r\n kafka:\r\n bootstrap-servers: 172.16.8.100:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\r\n\r\n--- #################### 定时任务相关配置 ####################\r\n\r\nxxl:\r\n job:\r\n enabled: true # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.system.dal.mysql: debug\r\n com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO # 配置 SensitiveWordMapper 的日志级别为 info\r\n com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO # 配置 SmsChannelMapper 的日志级别为 info\r\n #org.springframework.context.support.PostProcessorRegistrationDelegate: ERROR # TODO 芋艿:先禁用,Spring Boot 3.X 存在部分错误的 WARN 提示\r\n\r\n--- #################### 微信公众号、小程序相关配置 ####################\r\nwx:\r\n mp: # 公众号配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-mp-spring-boot-starter/README.md 文档\r\n # app-id: wx041349c6f39b268b\r\n # secret: 5abee519483bc9f8cb37ce280e814bd0\r\n app-id: wx5b23ba7a5589ecbb # 测试号\r\n secret: 2a7b3b20c537e52e74afd395eb85f61f\r\n # 存储配置,解决 AccessToken 的跨节点的共享\r\n config-storage:\r\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\r\n key-prefix: wx # Redis Key 的前缀\r\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\r\n miniapp: # 小程序配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-miniapp-spring-boot-starter/README.md 文档\r\n # appid: wx62056c0d5e8db250\r\n # secret: 333ae72f41552af1e998fe1f54e1584a\r\n appid: wx63c280fe3248a3e7 # wenhualian的接口测试号\r\n secret: 6f270509224a7ae1296bbf1c8cb97aed\r\n config-storage:\r\n type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取\r\n key-prefix: wa # Redis Key 的前缀\r\n http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n captcha:\r\n enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试\r\n security:\r\n mock-enable: true\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n\r\njustauth:\r\n enabled: true\r\n type:\r\n DINGTALK: # 钉钉\r\n client-id: dingvrnreaje3yqvzhxg\r\n client-secret: i8E6iZyDvZj51JIb0tYsYfVQYOks9Cq1lgryEjFRqC79P3iJcrxEwT6Qk2QvLrLI\r\n ignore-check-redirect-uri: true\r\n WECHAT_ENTERPRISE: # 企业微信\r\n client-id: wwd411c69a39ad2e54\r\n client-secret: 1wTb7hYxnpT2TUbIeHGXGo7T0odav1ic10mLdyyATOw\r\n agent-id: 1000004\r\n ignore-check-redirect-uri: true\r\n # noinspection SpringBootApplicationYaml\r\n WECHAT_MINI_APP: # 微信小程序\r\n client-id: ${wx.miniapp.appid}\r\n client-secret: ${wx.miniapp.secret}\r\n ignore-check-redirect-uri: true\r\n ignore-check-state: true # 微信小程序,不会使用到 state,所以不进行校验\r\n WECHAT_MP: # 微信公众号\r\n client-id: ${wx.mp.app-id}\r\n client-secret: ${wx.mp.secret}\r\n ignore-check-redirect-uri: true\r\n cache:\r\n type: REDIS\r\n prefix: \'social_auth_state:\' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE::\r\n timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟\r\n', 'c26b5f86e4218b1db4d3870d7d8a125b', '2010-05-05 00:00:00', '2024-08-08 00:28:40', 'nacos', '0:0:0:0:0:0:0:1', 'U', 'dev', '');
| INSERT INTO `his_config_info` VALUES (90, 142, 'infra-server-dev.yaml', 'DEFAULT_GROUP', 'infra-server', '--- #################### 数据库相关配置 ####################\r\nspring:\r\n\r\n # 数据源配置项\r\n autoconfigure:\r\n exclude:\r\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\r\n# - de.codecentric.boot.admin.server.config.AdminServerAutoConfiguration # 禁用 Spring Boot Admin 的 Server 的自动配置\r\n# - de.codecentric.boot.admin.server.cloud.config.AdminServerDiscoveryAutoConfiguration # 禁用 Spring Boot Admin 的 Server 的自动配置\r\n# - de.codecentric.boot.admin.server.ui.config.AdminServerUiAutoConfiguration # 禁用 Spring Boot Admin 的 Server UI 的自动配置\r\n# - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\r\n datasource:\r\n druid: # Druid 【监控】相关的全局配置\r\n web-stat-filter:\r\n enabled: true\r\n stat-view-servlet:\r\n enabled: true\r\n allow: # 设置白名单,不填则允许所有访问\r\n url-pattern: /druid/*\r\n login-username: # 控制台管理用户名和密码\r\n login-password:\r\n filter:\r\n stat:\r\n enabled: true\r\n log-slow-sql: true # 慢 SQL 记录\r\n slow-sql-millis: 100\r\n merge-sql: true\r\n wall:\r\n config:\r\n multi-statement-allow: true\r\n dynamic: # 多数据源配置\r\n druid: # Druid 【连接池】相关的全局配置\r\n initial-size: 1 # 初始连接数\r\n min-idle: 1 # 最小连接池数量\r\n max-active: 20 # 最大连接池数量\r\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\r\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\r\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\r\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\r\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\r\n test-while-idle: true\r\n test-on-borrow: false\r\n test-on-return: false\r\n primary: master\r\n datasource:\r\n master:\r\n url: jdbc:mysql://172.16.8.100:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\r\n # url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\r\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\r\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\r\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\r\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\r\n username: root\r\n password: 123456\r\n # username: sa # SQL Server 连接的示例\r\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\r\n # username: SYSDBA # DM 连接的示例\r\n # password: SYSDBA # DM 连接的示例\r\n slave: # 模拟从库,可根据自己需要修改\r\n lazy: true # 开启懒加载,保证启动速度\r\n url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\r\n username: root\r\n password: 123456\r\n\r\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\r\n redis:\r\n host: 172.16.8.100 # 地址\r\n port: 6379 # 端口\r\n database: 0 # 数据库索引\r\n password: 123456 # 密码,建议生产环境开启\r\n\r\n--- #################### MQ 消息队列相关配置 ####################\r\n\r\n# rocketmq 配置项,对应 RocketMQProperties 配置类\r\nrocketmq:\r\n name-server: 172.16.8.100:9876 # RocketMQ Namesrv\r\n\r\nspring:\r\n # RabbitMQ 配置项,对应 RabbitProperties 配置类\r\n rabbitmq:\r\n host: 172.16.8.100 # RabbitMQ 服务的地址\r\n port: 5672 # RabbitMQ 服务的端口\r\n username: guest # RabbitMQ 服务的账号\r\n password: guest # RabbitMQ 服务的密码\r\n # Kafka 配置项,对应 KafkaProperties 配置类\r\n kafka:\r\n bootstrap-servers: 172.16.8.100:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔\r\n\r\n--- #################### 定时任务相关配置 ####################\r\nxxl:\r\n job:\r\n enabled: false # 是否开启调度中心,默认为 true 开启\r\n admin:\r\n addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址\r\n\r\n--- #################### 服务保障相关配置 ####################\r\n\r\n# Lock4j 配置项\r\nlock4j:\r\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\r\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\r\n\r\n--- #################### 监控相关配置 ####################\r\n\r\n# Actuator 监控端点的配置项\r\nmanagement:\r\n endpoints:\r\n web:\r\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\r\n exposure:\r\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\r\n\r\n# Spring Boot Admin 配置项\r\nspring:\r\n boot:\r\n admin:\r\n # Spring Boot Admin Client 客户端的相关配置\r\n client:\r\n instance:\r\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\r\n # Spring Boot Admin Server 服务端的相关配置\r\n context-path: /admin # 配置 Spring\r\n\r\n# 日志文件配置\r\nlogging:\r\n level:\r\n # 配置自己写的 MyBatis Mapper 打印日志\r\n com.iailab.module.infra.dal.mysql: debug\r\n com.iailab.module.infra.dal.mysql.logger.ApiErrorLogMapper: INFO # 配置 ApiErrorLogMapper 的日志级别为 info,避免和 GlobalExceptionHandler 重复打印\r\n com.iailab.module.infra.dal.mysql.file.FileConfigMapper: INFO # 配置 FileConfigMapper 的日志级别为 info\r\n\r\n--- #################### 平台相关配置 ####################\r\n\r\n# 平台配置项,设置当前项目所有自定义的配置\r\niailab:\r\n env: # 多环境的配置项\r\n tag: ${HOSTNAME}\r\n security:\r\n mock-enable: true\r\n access-log: # 访问日志的配置项\r\n enable: false\r\n', 'ad1b3a25fd5dc6c41f11b9dc29f78740', '2010-05-05 00:00:00', '2024-08-08 00:29:02', 'nacos', '0:0:0:0:0:0:0:1', 'U', 'dev', '');
| INSERT INTO `his_config_info` VALUES (95, 143, 'bpm-server-dev.yaml', 'DEFAULT_GROUP', 'bpm-server', 'spring:\n # 数据源配置项\n autoconfigure:\n exclude:\n - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源\n - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置\n datasource:\n druid: # Druid 【监控】相关的全局配置\n web-stat-filter:\n enabled: true\n stat-view-servlet:\n enabled: true\n allow: # 设置白名单,不填则允许所有访问\n url-pattern: /druid/*\n login-username: # 控制台管理用户名和密码\n login-password:\n filter:\n stat:\n enabled: true\n log-slow-sql: true # 慢 SQL 记录\n slow-sql-millis: 100\n merge-sql: true\n wall:\n config:\n multi-statement-allow: true\n dynamic: # 多数据源配置\n druid: # Druid 【连接池】相关的全局配置\n initial-size: 1 # 初始连接数\n min-idle: 1 # 最小连接池数量\n max-active: 20 # 最大连接池数量\n max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒\n time-between-eviction-runs-millis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位:毫秒\n min-evictable-idle-time-millis: 300000 # 配置一个连接在池中最小生存的时间,单位:毫秒\n max-evictable-idle-time-millis: 900000 # 配置一个连接在池中最大生存的时间,单位:毫秒\n validation-query: SELECT 1 FROM DUAL # 配置检测连接是否有效\n test-while-idle: true\n test-on-borrow: false\n test-on-return: false\n primary: master\n datasource:\n master:\n url: jdbc:mysql://172.16.8.100:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例\n # url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例\n # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例\n # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例\n # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro # SQLServer 连接的示例\n # url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO # DM 连接的示例\n username: root\n password: 123456\n # username: sa # SQL Server 连接的示例\n # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # SQL Server 连接的示例\n # username: SYSDBA # DM 连接的示例\n # password: SYSDBA # DM 连接的示例\n slave: # 模拟从库,可根据自己需要修改\n lazy: true # 开启懒加载,保证启动速度\n url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true\n username: root\n password: 123456\n\n # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优\n redis:\n host: 172.16.8.100 # 地址\n port: 6379 # 端口\n database: 0 # 数据库索引\n password: 123456 # 密码,建议生产环境开启\n\n--- #################### MQ 消息队列相关配置 ####################\n\n--- #################### 定时任务相关配置 ####################\n\nxxl:\n job:\n enabled: true # 是否开启调度中心,默认为 true 开启\n admin:\n addresses: http://127.0.0.1:9090/xxl-job-admin # 调度中心部署跟地址\n\n--- #################### 服务保障相关配置 ####################\n\n# Lock4j 配置项\nlock4j:\n acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒\n expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒\n\n--- #################### 监控相关配置 ####################\n\n# Actuator 监控端点的配置项\nmanagement:\n endpoints:\n web:\n base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator\n exposure:\n include: \'*\' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。\n\n# Spring Boot Admin 配置项\nspring:\n boot:\n admin:\n # Spring Boot Admin Client 客户端的相关配置\n client:\n instance:\n service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]\n\n# 日志文件配置\nlogging:\n level:\n # 配置自己写的 MyBatis Mapper 打印日志\n com.iailab.module.bpm.dal.mysql: info\n\n--- #################### 平台相关配置 ####################\n\n# 平台配置项,设置当前项目所有自定义的配置\niailab:\n env: # 多环境的配置项\n tag: ${HOSTNAME}\n security:\n mock-enable: true\n access-log: # 访问日志的配置项\n enable: false\n demo: false # 关闭演示模式\n', '10b0a3ab01939043fc25e7af8d90b537', '2010-05-05 00:00:00', '2024-08-08 00:29:17', 'nacos', '0:0:0:0:0:0:0:1', 'U', 'dev', '');
|
| -- ----------------------------
| -- Table structure for permissions
| -- ----------------------------
| DROP TABLE IF EXISTS `permissions`;
| CREATE TABLE `permissions` (
| `role` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
| `resource` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
| `action` varchar(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
| UNIQUE INDEX `uk_role_permission`(`role` ASC, `resource` ASC, `action` ASC) USING BTREE
| ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
|
| -- ----------------------------
| -- Records of permissions
| -- ----------------------------
|
| -- ----------------------------
| -- Table structure for roles
| -- ----------------------------
| DROP TABLE IF EXISTS `roles`;
| CREATE TABLE `roles` (
| `username` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
| `role` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
| UNIQUE INDEX `uk_username_role`(`username` ASC, `role` ASC) USING BTREE
| ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
|
| -- ----------------------------
| -- Records of roles
| -- ----------------------------
| INSERT INTO `roles` VALUES ('nacos', 'ROLE_ADMIN');
|
| -- ----------------------------
| -- Table structure for tenant_capacity
| -- ----------------------------
| DROP TABLE IF EXISTS `tenant_capacity`;
| CREATE TABLE `tenant_capacity` (
| `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键ID',
| `tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT 'Tenant ID',
| `quota` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '配额,0表示使用默认值',
| `usage` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '使用量',
| `max_size` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '单个配置大小上限,单位为字节,0表示使用默认值',
| `max_aggr_count` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '聚合子配置最大个数',
| `max_aggr_size` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '单个聚合数据的子配置大小上限,单位为字节,0表示使用默认值',
| `max_history_count` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '最大变更历史数量',
| `gmt_create` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '创建时间',
| `gmt_modified` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '修改时间',
| PRIMARY KEY (`id`) USING BTREE,
| UNIQUE INDEX `uk_tenant_id`(`tenant_id` ASC) USING BTREE
| ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '租户容量信息表' ROW_FORMAT = DYNAMIC;
|
| -- ----------------------------
| -- Records of tenant_capacity
| -- ----------------------------
|
| -- ----------------------------
| -- Table structure for tenant_info
| -- ----------------------------
| DROP TABLE IF EXISTS `tenant_info`;
| CREATE TABLE `tenant_info` (
| `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
| `kp` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'kp',
| `tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT 'tenant_id',
| `tenant_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT 'tenant_name',
| `tenant_desc` varchar(256) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'tenant_desc',
| `create_source` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'create_source',
| `gmt_create` bigint NOT NULL COMMENT '创建时间',
| `gmt_modified` bigint NOT NULL COMMENT '修改时间',
| PRIMARY KEY (`id`) USING BTREE,
| UNIQUE INDEX `uk_tenant_info_kptenantid`(`kp` ASC, `tenant_id` ASC) USING BTREE,
| INDEX `idx_tenant_id`(`tenant_id` ASC) USING BTREE
| ) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = 'tenant_info' ROW_FORMAT = DYNAMIC;
|
| -- ----------------------------
| -- Records of tenant_info
| -- ----------------------------
| INSERT INTO `tenant_info` VALUES (4, '1', 'test', 'test', '测试服务命名空间', 'nacos', 1721896488996, 1721896488996);
| INSERT INTO `tenant_info` VALUES (5, '1', 'dev', 'dev', '开发环境', 'nacos', 1721903634181, 1721903634181);
|
| -- ----------------------------
| -- Table structure for users
| -- ----------------------------
| DROP TABLE IF EXISTS `users`;
| CREATE TABLE `users` (
| `username` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
| `password` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
| `enabled` tinyint(1) NOT NULL,
| PRIMARY KEY (`username`) USING BTREE
| ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
|
| -- ----------------------------
| -- Records of users
| -- ----------------------------
| INSERT INTO `users` VALUES ('nacos', '$2a$10$EuWPZHzz32dJN7jexM34MOeYirDdFAZm2kuWj7VEOJhhZkDrxfvUu', 1);
|
| SET FOREIGN_KEY_CHECKS = 1;
|
|