format
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user