This commit is contained in:
seydx
2025-05-26 18:42:24 +02:00
parent 3036dd7cfe
commit a2d422f5cb
+5 -5
View File
@@ -122,8 +122,8 @@ type AppInfo struct {
type MQTTConfigResponse struct { type MQTTConfigResponse struct {
Result SmartApiMQTTConfig `json:"result"` Result SmartApiMQTTConfig `json:"result"`
Success bool `json:"success"` Success bool `json:"success"`
Msg string `json:"errorMsg,omitempty"` Msg string `json:"errorMsg,omitempty"`
} }
type SmartApiMQTTConfig struct { type SmartApiMQTTConfig struct {
@@ -210,8 +210,8 @@ type SmartApiWebRTCConfigRequest struct {
type SmartApiWebRTCConfigResponse struct { type SmartApiWebRTCConfigResponse struct {
Result SmartApiWebRTCConfig `json:"result"` Result SmartApiWebRTCConfig `json:"result"`
Success bool `json:"success"` Success bool `json:"success"`
Msg string `json:"errorMsg,omitempty"` Msg string `json:"errorMsg,omitempty"`
} }
type SmartApiWebRTCConfig struct { type SmartApiWebRTCConfig struct {
@@ -587,4 +587,4 @@ func (c *TuyaSmartApiClient) request(method string, url string, body any) ([]byt
} }
return res, nil return res, nil
} }