From 3216ed3fb2d9dc9cf61da21bda3175e66ec46426 Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期五, 06 十二月 2024 17:04:11 +0800
Subject: [PATCH] IailabClient 配置

---
 shasteel-biz/src/main/resources/application-dev.yaml  |   26 ++++++++++++++------------
 shasteel-biz/src/main/resources/application-test.yaml |    7 +++++++
 2 files changed, 21 insertions(+), 12 deletions(-)

diff --git a/shasteel-biz/src/main/resources/application-dev.yaml b/shasteel-biz/src/main/resources/application-dev.yaml
index 691e0c9..ba12660 100644
--- a/shasteel-biz/src/main/resources/application-dev.yaml
+++ b/shasteel-biz/src/main/resources/application-dev.yaml
@@ -35,21 +35,16 @@
       primary: master
       datasource:
         master:
-          url: jdbc:mysql://172.16.8.100:3306/iailab_expert_tenant_shasteel?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例
-          username: root
-          password: 123456
-        slave: # 模拟从库,可根据自己需要修改
-          lazy: true # 开启懒加载,保证启动速度
-          url: jdbc:mysql://127.0.0.1:3306/iailab_expert_tenant_shasteel?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
+          url: jdbc:mysql://127.0.0.1:3306/iailab_expert_tenant_shasteel?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例
           username: root
           password: 123456
 
   # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
   redis:
-    host: 172.16.8.100 # 地址
+    host: 127.0.0.1 # 地址
     port: 6379 # 端口
-    database: 8 # 数据库索引
-    password: 123456 # 密码,建议生产环境开启
+    database: 0 # 数据库索引
+#    password: 123456 # 密码,建议生产环境开启
 
 --- #################### MQ 消息队列相关配置 ####################
 
@@ -60,10 +55,10 @@
 spring:
   # RabbitMQ 配置项,对应 RabbitProperties 配置类
   rabbitmq:
-    host: 172.16.8.200 # RabbitMQ 服务的地址
+    host: 127.0.0.1 # RabbitMQ 服务的地址
     port: 5672 # RabbitMQ 服务的端口
-    username: admin # RabbitMQ 服务的账号
-    password: admin123 # RabbitMQ 服务的密码
+    username: guest # RabbitMQ 服务的账号
+    password: guest # RabbitMQ 服务的密码
   # Kafka 配置项,对应 KafkaProperties 配置类
   kafka:
     bootstrap-servers: 127.0.0.1:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔
@@ -80,4 +75,11 @@
     mock-enable: true
   access-log: # 访问日志的配置项
     enable: false
+  token:
+    base-url: http://127.0.0.1:48080/admin-api/system
+    tenant-id: 172
+    client-id: shasteel
+    client-secret: shasteel111111111111111
+    username: shasteel
+    password: 123456
 
diff --git a/shasteel-biz/src/main/resources/application-test.yaml b/shasteel-biz/src/main/resources/application-test.yaml
index ceedec6..eecddfb 100644
--- a/shasteel-biz/src/main/resources/application-test.yaml
+++ b/shasteel-biz/src/main/resources/application-test.yaml
@@ -79,4 +79,11 @@
     send-maximum-quantity-per-day: 10
     begin-code: 9999 # 这里配置 9999 的原因是,测试方便。
     end-code: 9999 # 这里配置 9999 的原因是,测试方便。
+  token:
+    base-url: http://172.16.8.100:48080/admin-api/system
+    tenant-id: 172
+    client-id: shasteel
+    client-secret: shasteel111111111111111
+    username: shasteel
+    password: 123456
 

--
Gitblit v1.9.3