桩与枪的版本号一致

This commit is contained in:
ZZ 2021-10-21 20:33:49 +08:00
parent b98305c061
commit 6c0156544d

View File

@ -67,6 +67,7 @@ public class RegisterLogic implements ServiceLogic {
cacheGun.put("status", DISCONNECTED);
cacheGun.put("statusInt", ConnectorStatusInfo.OFF_LINE);
cacheGun.put("svcSrv", localIPAndPort);
cacheGun.put("version", cachePile.get("version"));
REDIS.setCacheMap(gunkey, cacheGun);
String svcSrvKeyNew = "svcSrvGuns:".concat(getLocalIPAndPort());
cachePileGunSvcSrv(gunkey, svcSrvKeyNew);