From dd213549dea23e43f6300602256cf74470da7ca2 Mon Sep 17 00:00:00 2001 From: ZZ Date: Mon, 23 Aug 2021 15:21:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9E=AA=E7=8A=B6=E6=80=81=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=A4=84=E7=90=86=E9=80=BB=E8=BE=91=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/xhpc/pp/logic/RegisterLogic.java | 1 + 1 file changed, 1 insertion(+) diff --git a/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/logic/RegisterLogic.java b/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/logic/RegisterLogic.java index 1ca61561..74eb07b6 100644 --- a/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/logic/RegisterLogic.java +++ b/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/logic/RegisterLogic.java @@ -55,6 +55,7 @@ public class RegisterLogic implements ServiceLogic { String gunId = String.format("%02d", gunN); String gunkey = "gun:".concat(pileNo.concat(gunId)); Map cacheGun = REDIS.getCacheMap(gunkey); + cacheGun.put("status", DISCONNECTED); cacheGun.put("svcSrv", localIPAndPort); REDIS.setCacheMap(gunkey, cacheGun); }