From 09fe50d59e2f1e2261d376eb49ad6c40301f25b4 Mon Sep 17 00:00:00 2001 From: ZengTao <2773468879@qq.com> Date: 星期五, 10 五月 2024 16:08:59 +0800 Subject: [PATCH] 修改IP与数据库连接 --- springboot-vue3/src/main/java/com/example/springboot/component/PlcParameter.java | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/springboot-vue3/src/main/java/com/example/springboot/component/PlcParameter.java b/springboot-vue3/src/main/java/com/example/springboot/component/PlcParameter.java index 96fd659..54f3223 100644 --- a/springboot-vue3/src/main/java/com/example/springboot/component/PlcParameter.java +++ b/springboot-vue3/src/main/java/com/example/springboot/component/PlcParameter.java @@ -14,7 +14,7 @@ import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; -import com.example.springboot.common.MessageSender; + import org.apache.commons.io.FileUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; @@ -62,8 +62,7 @@ jsonObject.put("key3", jsonArray); try { - // 灏� JSON 瀵硅薄杞崲涓哄瓧绗︿覆骞跺彂閫佸埌闃熷垪 - RabbitMQUtils.sendJsonMessage(jsonObject, "json_queue"); + // 灏� JSON 瀵硅薄杞崲涓哄瓧绗︿覆骞跺彂閫佸埌闃熷垪//RabbitMQUtils.sendJsonMessage(jsonObject, "json_queue"); } catch (Exception e) { e.printStackTrace(); } -- Gitblit v1.8.0