remove print secret

This commit is contained in:
ctlove0523 2021-12-31 22:47:30 +08:00
parent a1b3269bb5
commit 04fe87bb4d
1 changed files with 0 additions and 2 deletions

View File

@ -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"))