liuxiulin 4 týždňov pred
rodič
commit
78181ef4e1
1 zmenil súbory, kde vykonal 6 pridanie a 5 odobranie
  1. 6 5
      pkg/scene/scene.go

+ 6 - 5
pkg/scene/scene.go

@@ -21,11 +21,12 @@ type GetSceneParams struct {
 }
 
 type InfoScene struct {
-	Key     string `json:"key"`
-	Name    string `json:"name"`
-	Desc    string `json:"desc"`
-	SceneId string `json:"scene_id"`
-	Config  string `json:"config"`
+	Key           string `json:"key"`
+	Name          string `json:"name"`
+	ConditionDesc string `json:"condition_desc"`
+	ActionDesc    string `json:"action_desc"`git
+	SceneId       string `json:"scene_id"`
+	Config        string `json:"config"`
 }
 
 type AllSceneResult struct {