remove print secret
This commit is contained in:
parent
a1b3269bb5
commit
04fe87bb4d
|
@ -58,8 +58,6 @@ func (device *restyHttpDevice) init() {
|
||||||
Password: hmacSha256(device.Password, "2019120219"),
|
Password: hmacSha256(device.Password, "2019120219"),
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Println(Interface2JsonString(accessTokenBody))
|
|
||||||
|
|
||||||
response, err := device.client.R().
|
response, err := device.client.R().
|
||||||
SetBody(accessTokenBody).
|
SetBody(accessTokenBody).
|
||||||
Post(fmt.Sprintf("%s%s", device.Servers, "/v5/device-auth"))
|
Post(fmt.Sprintf("%s%s", device.Servers, "/v5/device-auth"))
|
||||||
|
|
Loading…
Reference in New Issue