From 3e911557e8e81cd5eff794e03a54c30f036f9ed5 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期二, 23 六月 2020 15:35:02 +0800
Subject: [PATCH] fix func arg

---
 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