format
This commit is contained in:
@@ -122,8 +122,8 @@ type AppInfo struct {
|
||||
|
||||
type MQTTConfigResponse struct {
|
||||
Result SmartApiMQTTConfig `json:"result"`
|
||||
Success bool `json:"success"`
|
||||
Msg string `json:"errorMsg,omitempty"`
|
||||
Success bool `json:"success"`
|
||||
Msg string `json:"errorMsg,omitempty"`
|
||||
}
|
||||
|
||||
type SmartApiMQTTConfig struct {
|
||||
@@ -210,8 +210,8 @@ type SmartApiWebRTCConfigRequest struct {
|
||||
|
||||
type SmartApiWebRTCConfigResponse struct {
|
||||
Result SmartApiWebRTCConfig `json:"result"`
|
||||
Success bool `json:"success"`
|
||||
Msg string `json:"errorMsg,omitempty"`
|
||||
Success bool `json:"success"`
|
||||
Msg string `json:"errorMsg,omitempty"`
|
||||
}
|
||||
|
||||
type SmartApiWebRTCConfig struct {
|
||||
@@ -587,4 +587,4 @@ func (c *TuyaSmartApiClient) request(method string, url string, body any) ([]byt
|
||||
}
|
||||
|
||||
return res, nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user