From 683edeb307aee24a03c4bfe8d010fd544e5e8d8d Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期五, 18 十二月 2020 16:46:18 +0800
Subject: [PATCH] add FindRelationByGroup
---
dicApi.go | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/dicApi.go b/dicApi.go
index bd0edda..8b697d8 100644
--- a/dicApi.go
+++ b/dicApi.go
@@ -2,7 +2,6 @@
import (
"encoding/json"
- "fmt"
"strconv"
)
@@ -35,7 +34,7 @@
}
var res Result
if err = json.Unmarshal(respBody, &res); err != nil {
- fmt.Println(err)
+ logPrint(err)
return false,nil
}
return res.Success,res.Data
@@ -52,7 +51,7 @@
}
var res Result
if err = json.Unmarshal(respBody, &res); err != nil {
- fmt.Println(err)
+ logPrint(err)
return false,nil
}
return res.Success,res.Data
--
Gitblit v1.8.0