package shadowservice import "github.com/gogf/gf/encoding/gjson" type Server interface { // SaveStatus 存储设备状态 SaveStatus(deviceCode string, data *gjson.Json) error // GetStatus 获取设备状态 GetStatus(deviceCode string) (*gjson.Json, error) }