You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.8 KiB
Go
54 lines
1.8 KiB
Go
7 months ago
|
package model
|
||
|
|
||
|
type T struct {
|
||
|
Code int `json:"code"`
|
||
|
Message string `json:"message"`
|
||
|
Result struct {
|
||
|
List []struct {
|
||
|
Did string `json:"did"`
|
||
|
Token string `json:"token"`
|
||
|
Longitude string `json:"longitude"`
|
||
|
Latitude string `json:"latitude"`
|
||
|
Name string `json:"name"`
|
||
|
Pid string `json:"pid"`
|
||
|
Localip string `json:"localip"`
|
||
|
Mac string `json:"mac"`
|
||
|
Ssid string `json:"ssid"`
|
||
|
Bssid string `json:"bssid"`
|
||
|
ParentId string `json:"parent_id"`
|
||
|
ParentModel string `json:"parent_model"`
|
||
|
ShowMode int `json:"show_mode"`
|
||
|
Model string `json:"model"`
|
||
|
AdminFlag int `json:"adminFlag"`
|
||
|
ShareFlag int `json:"shareFlag"`
|
||
|
PermitLevel int `json:"permitLevel"`
|
||
|
IsOnline bool `json:"isOnline"`
|
||
|
Desc string `json:"desc"`
|
||
|
Extra struct {
|
||
|
IsSetPincode int `json:"isSetPincode"`
|
||
|
PincodeType int `json:"pincodeType"`
|
||
|
FwVersion string `json:"fw_version,omitempty"`
|
||
|
NeedVerifyCode int `json:"needVerifyCode,omitempty"`
|
||
|
IsPasswordEncrypt int `json:"isPasswordEncrypt,omitempty"`
|
||
|
McuVersion string `json:"mcu_version,omitempty"`
|
||
|
Platform string `json:"platform,omitempty"`
|
||
|
} `json:"extra"`
|
||
|
Uid int64 `json:"uid"`
|
||
|
PdId int `json:"pd_id"`
|
||
|
Password string `json:"password"`
|
||
|
P2PId string `json:"p2p_id"`
|
||
|
Rssi int `json:"rssi"`
|
||
|
FamilyId int `json:"family_id"`
|
||
|
ResetFlag int `json:"reset_flag"`
|
||
|
Prop struct {
|
||
|
Status string `json:"status"`
|
||
|
} `json:"prop,omitempty"`
|
||
|
Owner struct {
|
||
|
Userid int `json:"userid"`
|
||
|
Nickname string `json:"nickname"`
|
||
|
Icon interface{} `json:"icon"`
|
||
|
} `json:"owner,omitempty"`
|
||
|
} `json:"list"`
|
||
|
} `json:"result"`
|
||
|
}
|