From 30248ac5bcb3e3f497f2ec5aeb925d645da96f10 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期三, 24 六月 2020 17:09:01 +0800
Subject: [PATCH] fix
---
areaApi.go | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/areaApi.go b/areaApi.go
index 64fb84a..e23ee39 100644
--- a/areaApi.go
+++ b/areaApi.go
@@ -2,7 +2,6 @@
import (
"encoding/json"
- "fmt"
"strconv"
)
@@ -150,7 +149,7 @@
}
var res Result
if err = json.Unmarshal(respBody, &res); err != nil {
- fmt.Println(err)
+ logPrint(err)
return flag
}
flag = res.Success
--
Gitblit v1.8.0