From 3cb6b087df31e9795b2e5e2bf43c6fb1c842a739 Mon Sep 17 00:00:00 2001 From: lucas Date: Mon, 11 Nov 2024 15:39:08 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E7=9A=84=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configHelper.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/configHelper.go b/configHelper.go index 361016e..a736b7e 100644 --- a/configHelper.go +++ b/configHelper.go @@ -516,7 +516,6 @@ func (the *ConfigHelper) GetIotaMeta(deviceId string) (common_models.DeviceMeta, k := fmt.Sprintf("%s:%s", redisKey.Iota_meta, deviceId) //var deviceMeta common_models.DeviceMeta err = the.redisHelper.GetObj(k, &result) - DeviceMetaCache[deviceId] = result } return result, err } @@ -529,7 +528,6 @@ func (the *ConfigHelper) GetIotaDevice(deviceId string) (common_models.IotaDevic k := fmt.Sprintf("%s:%s", redisKey.Iota_device, deviceId) err = the.redisHelper.GetObj(k, &result) - IotaDeviceCache[deviceId] = result } return result, err }