From a0af42a6acfc7a0ebbb92bffc1816525e508af70 Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期五, 17 十月 2025 16:54:06 +0800
Subject: [PATCH] 修改bug
---
driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/util/PushUtil.java | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/util/PushUtil.java b/driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/util/PushUtil.java
index d87c595..ef12185 100644
--- a/driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/util/PushUtil.java
+++ b/driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/util/PushUtil.java
@@ -10,6 +10,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.http.MediaType;
@@ -27,8 +28,9 @@
public class PushUtil {
Logger logger = LoggerFactory.getLogger("ServiceLog");
-
- private final String socket_uri = "http://192.168.110.85:6000";
+
+ @Value("${qyt.socket_uri}")
+ private String socket_uri;
@@ -52,6 +54,7 @@
params.put("msg", msg.toJSONString());
params.put("id", id.toString());
params.put("type", type.toString());
+ params.put("bussinessType", "daijia");
post.form(params);
HttpResponse execute = post.execute();
if (200 != execute.getStatus()) {
@@ -87,6 +90,7 @@
params.put("msg", msg.toJSONString());
params.put("id", id.toString());
params.put("type", type.toString());
+ params.put("bussinessType", "daijia");
post.form(params);
HttpResponse execute = post.execute();
if (200 != execute.getStatus()) {
@@ -128,6 +132,7 @@
params.put("msg", msg.toJSONString());
params.put("id", id.toString());
params.put("type", type.toString());
+ params.put("bussinessType", "daijia");
post.form(params);
HttpResponse execute = post.execute();
if (200 != execute.getStatus()) {
@@ -165,6 +170,7 @@
params.put("msg", msg.toJSONString());
params.put("id", id.toString());
params.put("type", type.toString());
+ params.put("bussinessType", "daijia");
post.form(params);
HttpResponse execute = post.execute();
if (200 != execute.getStatus()) {
@@ -206,6 +212,7 @@
params.put("msg", msg.toJSONString());
params.put("id", id.toString());
params.put("type", type.toString());
+ params.put("bussinessType", "daijia");
post.form(params);
HttpResponse execute = post.execute();
if (200 != execute.getStatus()) {
@@ -243,6 +250,7 @@
params.put("msg", msg.toJSONString());
params.put("id", id.toString());
params.put("type", type.toString());
+ params.put("bussinessType", "daijia");
post.form(params);
HttpResponse execute = post.execute();
if (200 != execute.getStatus()) {
@@ -281,6 +289,7 @@
params.put("msg", msg.toJSONString());
params.put("id", id.toString());
params.put("type", type.toString());
+ params.put("bussinessType", "daijia");
post.form(params);
HttpResponse execute = post.execute();
if (200 != execute.getStatus()) {
@@ -315,6 +324,7 @@
params.put("msg", msg.toJSONString());
params.put("id", id.toString());
params.put("type", type.toString());
+ params.put("bussinessType", "daijia");
post.form(params);
HttpResponse execute = post.execute();
if (200 != execute.getStatus()) {
@@ -352,6 +362,7 @@
params.put("msg", msg.toJSONString());
params.put("id", id.toString());
params.put("type", type.toString());
+ params.put("bussinessType", "daijia");
post.form(params);
HttpResponse execute = post.execute();
if (200 != execute.getStatus()) {
@@ -387,6 +398,7 @@
params.put("msg", msg.toJSONString());
params.put("id", id.toString());
params.put("type", type.toString());
+ params.put("bussinessType", "daijia");
post.form(params);
HttpResponse execute = post.execute();
if (200 != execute.getStatus()) {
@@ -418,6 +430,7 @@
params.put("msg", msg.toJSONString());
params.put("id", id.toString());
params.put("type", type.toString());
+ params.put("bussinessType", "daijia");
post.form(params);
HttpResponse execute = post.execute();
if (200 != execute.getStatus()) {
--
Gitblit v1.7.1