liuxiulin 7 kuukautta sitten
vanhempi
commit
a80445812c
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      pkg/deviceStatus/deviceStatus.go

+ 2 - 2
pkg/deviceStatus/deviceStatus.go

@@ -5,8 +5,8 @@ import (
 )
 
 const (
-	StatusKeyPrefix = "device:status"
-	InfoKeyPrefix   = "device:info"
+	StatusKeyPrefix = "status:device:"
+	InfoKeyPrefix   = "info:device"
 	dataExpires     = 7200
 )