From 54626efab3de92ca483752c9a29574a809057f21 Mon Sep 17 00:00:00 2001
From: liriming <1343021927@qq.com>
Date: 星期二, 29 十月 2024 09:12:01 +0800
Subject: [PATCH] 配置文件

---
 iailab-module-system/iailab-module-system-biz/src/main/resources/application-dev.yaml                                         |    2 ++
 iailab-module-data/iailab-module-data-biz/src/main/resources/application-dev.yaml                                             |    6 +++---
 iailab-module-data/iailab-module-data-biz/src/main/resources/application.yaml                                                 |    0 
 iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/influxdb/service/impl/InfluxDBServiceImpl.java |    1 +
 4 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/influxdb/service/impl/InfluxDBServiceImpl.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/influxdb/service/impl/InfluxDBServiceImpl.java
index 17514d0..cc1dedc 100644
--- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/influxdb/service/impl/InfluxDBServiceImpl.java
+++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/influxdb/service/impl/InfluxDBServiceImpl.java
@@ -113,6 +113,7 @@
         }
         if (!CollectionUtils.isEmpty(tagValues)) {
             tagValues.forEach(item -> {
+                log.info("bucket==="+ influxDBInstance.getBucket() + ",org===" + influxDBInstance.org);
                 writeApi.writeMeasurement(influxDBInstance.getBucket(), influxDBInstance.org, WritePrecision.MS, item);
             });
         }
diff --git a/iailab-module-data/iailab-module-data-biz/src/main/resources/application-dev.yml b/iailab-module-data/iailab-module-data-biz/src/main/resources/application-dev.yaml
similarity index 93%
rename from iailab-module-data/iailab-module-data-biz/src/main/resources/application-dev.yml
rename to iailab-module-data/iailab-module-data-biz/src/main/resources/application-dev.yaml
index f528d97..52e059a 100644
--- a/iailab-module-data/iailab-module-data-biz/src/main/resources/application-dev.yml
+++ b/iailab-module-data/iailab-module-data-biz/src/main/resources/application-dev.yaml
@@ -44,15 +44,15 @@
 
   # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
   redis:
-    host: 127.0.0.1 # 地址
+    host: 172.16.8.100 # 地址
     port: 6379 # 端口
     database: 0 # 数据库索引
     password: 123456 # 密码,建议生产环境开启
 
 influx-db:
   org: iailab
-  bucket: iailab_data
-  token: 2_wr57sVbZQx2QHhN3wWNGOCOtPan_NdCu06NsCGcB8G7rjhjK3yHcLf3uTXE9xkjHHSQwo37E1Mxa0367qXgg==
+  bucket: buk_shasteel
+  token: Q2qsriQG3FEfZ35lik1KSkFToma3bsgfQLwJrNQfSK06MC569sZ9mrQ0vLtsVYn70HMfQcC9gf_yUG16JQtm8w==
   url: http://172.16.8.200:8086
   username: root
   password: iailab12345678
diff --git a/iailab-module-data/iailab-module-data-biz/src/main/resources/application.yml b/iailab-module-data/iailab-module-data-biz/src/main/resources/application.yaml
similarity index 100%
rename from iailab-module-data/iailab-module-data-biz/src/main/resources/application.yml
rename to iailab-module-data/iailab-module-data-biz/src/main/resources/application.yaml
diff --git a/iailab-module-system/iailab-module-system-biz/src/main/resources/application-dev.yaml b/iailab-module-system/iailab-module-system-biz/src/main/resources/application-dev.yaml
index c3c18fa..dc326f1 100644
--- a/iailab-module-system/iailab-module-system-biz/src/main/resources/application-dev.yaml
+++ b/iailab-module-system/iailab-module-system-biz/src/main/resources/application-dev.yaml
@@ -142,6 +142,8 @@
     pay-return-url: http://niubi.natapp1.cc/api/pay/order/return
     refund-notify-url: http://niubi.natapp1.cc/api/pay/refund/notify
   demo: false # 开启演示模式
+  captcha:
+    enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试
 
 justauth:
   enabled: true

--
Gitblit v1.9.3