liuxiulin 7 months ago
parent
commit
a80445812c
1 changed files with 2 additions and 2 deletions
  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
 )