liuxiulin 7 달 전
부모
커밋
a80445812c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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
 )