liuxiulin 7 månader sedan
förälder
incheckning
a80445812c
1 ändrade filer med 2 tillägg och 2 borttagningar
  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
 )