From 8522e469e00e1cf6c0410165b0f76c806c13ca83 Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期六, 16 八月 2025 09:17:04 +0800 Subject: [PATCH] 合并代码 --- DriverQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/PushUtil.java | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/DriverQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/PushUtil.java b/DriverQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/PushUtil.java index a9d5cac..aa10ae4 100644 --- a/DriverQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/PushUtil.java +++ b/DriverQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/PushUtil.java @@ -87,6 +87,7 @@ params.put("msg", jsonObject.toJSONString()); params.put("id", uid); params.put("type", type); + params.put("bussinessType", "dache"); post.form(params); HttpResponse execute = post.execute(); if (200 != execute.getStatus()) { @@ -126,6 +127,7 @@ params.put("msg", jsonObject.toJSONString()); params.put("id", uid); params.put("type", type); + params.put("bussinessType", "dache"); post.form(params); HttpResponse execute = post.execute(); if (200 != execute.getStatus()) { @@ -165,6 +167,7 @@ params.put("msg", jsonObject.toJSONString()); params.put("id", uid); params.put("type", type); + params.put("bussinessType", "dache"); post.form(params); HttpResponse execute = post.execute(); if (200 != execute.getStatus()) { @@ -204,6 +207,7 @@ params.put("msg", jsonObject.toJSONString()); params.put("id", uid); params.put("type", type); + params.put("bussinessType", "dache"); post.form(params); HttpResponse execute = post.execute(); if (200 != execute.getStatus()) { @@ -364,7 +368,7 @@ return; } //计算预计距离和剩余时间 - String value = (String) redisTemplate.opsForValue().get("dache:DRIVER" + String.valueOf(driverId)); + String value = (String) redisTemplate.opsForValue().get("dache_DRIVER" + String.valueOf(driverId)); if(null == value || "".equals(value)){ return; } @@ -440,6 +444,7 @@ params.put("msg", msg.toJSONString()); params.put("id", jsonObject.getIntValue("id")); params.put("type", jsonObject.getIntValue("type")); + params.put("bussinessType", "dache"); post.form(params); HttpResponse execute = post.execute(); if (200 != execute.getStatus()) { @@ -474,6 +479,7 @@ params.put("msg", msg.toJSONString()); params.put("id", id); params.put("type", type); + params.put("bussinessType", "dache"); post.form(params); HttpResponse execute = post.execute(); if (200 != execute.getStatus()) { @@ -516,6 +522,7 @@ params.put("msg", jsonObject.toJSONString()); params.put("id", uid); params.put("type", type); + params.put("bussinessType", "dache"); post.form(params); HttpResponse execute = post.execute(); if (200 != execute.getStatus()) { @@ -556,6 +563,7 @@ params.put("msg", jsonObject.toJSONString()); params.put("id", uid); params.put("type", type); + params.put("bussinessType", "dache"); post.form(params); HttpResponse execute = post.execute(); if (200 != execute.getStatus()) { -- Gitblit v1.7.1