From 9961c7e9fa3a1a6ea3ca843d0330c7743c57cf68 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期五, 11 十月 2024 08:23:54 +0800 Subject: [PATCH] influxdb --- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/api/controller/ApiDataController.java | 2 +- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/api/controller/ApiIndItemController.java | 2 +- iailab-module-data/iailab-module-data-biz/src/main/resources/application-prod.yml | 2 +- iailab-module-data/iailab-module-data-biz/src/main/resources/application-test.yaml | 10 ++++++---- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/api/controller/DataController.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/api/controller/ApiDataController.java similarity index 99% rename from iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/api/controller/DataController.java rename to iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/api/controller/ApiDataController.java index 1bb4e80..4072571 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/api/controller/DataController.java +++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/api/controller/ApiDataController.java @@ -40,7 +40,7 @@ @RestController @RequestMapping("/api/data") @Tag(name = "数据") -public class DataController { +public class ApiDataController { @Resource private DaPointService daPointService; diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/api/controller/IndItemController.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/api/controller/ApiIndItemController.java similarity index 98% rename from iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/api/controller/IndItemController.java rename to iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/api/controller/ApiIndItemController.java index bbc9c15..86b5abf 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/api/controller/IndItemController.java +++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/api/controller/ApiIndItemController.java @@ -29,7 +29,7 @@ @RestController @RequestMapping("/api/data/ind-item") @Tag(name = "指标") -public class IndItemController { +public class ApiIndItemController { @Autowired private IndItemCollector indItemCollector; diff --git a/iailab-module-data/iailab-module-data-biz/src/main/resources/application-prod.yml b/iailab-module-data/iailab-module-data-biz/src/main/resources/application-prod.yml index 5d3d877..79ac1f5 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/resources/application-prod.yml +++ b/iailab-module-data/iailab-module-data-biz/src/main/resources/application-prod.yml @@ -61,7 +61,7 @@ token: FLkSbhpYgPrMJBNnOdmxuY3YcG8D_roPtdGPEhwXW9JSxJkEPe1sXUkrYgWcV-nOL9Zjm09RoTfMW44NoRYaXA== url: http://192.168.55.180:8086 username: root - password: ntt12345678 + password: iailab12345678 iems: upload-dir: C:/DLUT/upload/ \ No newline at end of file diff --git a/iailab-module-data/iailab-module-data-biz/src/main/resources/application-test.yaml b/iailab-module-data/iailab-module-data-biz/src/main/resources/application-test.yaml index 52382fa..3f9ce6a 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/resources/application-test.yaml +++ b/iailab-module-data/iailab-module-data-biz/src/main/resources/application-test.yaml @@ -50,10 +50,12 @@ password: 123456 # 密码,建议生产环境开启 influx-db: - org: IAILab - bucket: whs_data - token: gxhXM4H1VOBv07kYXKWyPag_zJ8_oChP4ooZ3u-BkSae9LS8R1wWzJYlmUjL3Qe9t1hDU3DtoYD5HTgjWoTGOg== - url: http://172.16.8.100:8086 + org: iailab + bucket: buk_shasteel + token: Q2qsriQG3FEfZ35lik1KSkFToma3bsgfQLwJrNQfSK06MC569sZ9mrQ0vLtsVYn70HMfQcC9gf_yUG16JQtm8w== + url: http://172.16.8.200:8086 + username: root + password: iailab12345678 iems: upload-dir: D:/DLUT/upload/ -- Gitblit v1.9.3