From 04fe87bb4d8b2dfe400c3ab6edb8989e538fa794 Mon Sep 17 00:00:00 2001 From: ctlove0523 <478309639@qq.com> Date: Fri, 31 Dec 2021 22:47:30 +0800 Subject: [PATCH] remove print secret --- http_device.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/http_device.go b/http_device.go index 99600c2..95d30d0 100644 --- a/http_device.go +++ b/http_device.go @@ -58,8 +58,6 @@ func (device *restyHttpDevice) init() { Password: hmacSha256(device.Password, "2019120219"), } - fmt.Println(Interface2JsonString(accessTokenBody)) - response, err := device.client.R(). SetBody(accessTokenBody). Post(fmt.Sprintf("%s%s", device.Servers, "/v5/device-auth"))