liuxiulin 4 tuần trước cách đây
mục cha
commit
c5cd105d90
1 tập tin đã thay đổi với 7 bổ sung6 xóa
  1. 7 6
      pkg/scene/scene.go

+ 7 - 6
pkg/scene/scene.go

@@ -21,12 +21,13 @@ type GetSceneParams struct {
 }
 
 type InfoScene struct {
-	Key           string `json:"key"`
-	Name          string `json:"name"`
-	ConditionDesc string `json:"condition_desc"`
-	ActionDesc    string `json:"action_desc"`
-	SceneId       string `json:"scene_id"`
-	Config        string `json:"config"`
+	Key           string    `json:"key"`
+	Name          string    `json:"name"`
+	ActionDesc    string    `json:"action_desc"`
+	ConditionDesc string    `json:"condition_desc"`
+	SceneId       string    `json:"scene_id"`
+	Config        string    `json:"config"`
+	Time          time.Time `json:"time"`
 }
 
 type AllSceneResult struct {