package main import "github.com/gogf/gf/encoding/gjson" type ShadowDoc struct { Version int `json:"version"` // 版本 Timestamp int64 `json:"timestamp"` // 更新时间 DeviceCode string `json:"device_code"` Status struct { Reported *gjson.Json `json:"reported"` Desired *gjson.Json `json:"desired"` } `json:"status"` Commands []map[string]interface{} `json:"commands"` }