From c65f02064b92fdd4bc9ee9b71fef2b6c8550e97e Mon Sep 17 00:00:00 2001 From: ZZ Date: Thu, 9 Sep 2021 19:59:23 +0800 Subject: [PATCH] really not in good moods... --- .../src/main/java/com/xhpc/pp/logic/HBLogic.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/logic/HBLogic.java b/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/logic/HBLogic.java index 2f4589c5..a85e8065 100644 --- a/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/logic/HBLogic.java +++ b/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/logic/HBLogic.java @@ -36,7 +36,7 @@ public class HBLogic implements ServiceLogic { Map cacheGun = REDIS.getCacheMap(gunkey); cacheGun.put("status", stable[gunStatusInt.intValue()]); cacheGun.put("statusInt", gunStatusInt); - cacheGun.put("hbtime", String.valueOf(Calendar.getInstance().getTimeInMillis())); + cacheGun.put("hbtime", Calendar.getInstance().getTimeInMillis()); REDIS.setCacheMap(gunkey, cacheGun); String skey = gunkey.concat(".seqhex"); String seq = seqHex(skey);