liuxiulin hai 7 meses
pai
achega
a80445812c
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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
 )