From 0ce10d63b42524d3e4e4b9a2ea35901048a33eb1 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期一, 02 三月 2020 17:22:37 +0800
Subject: [PATCH] add name filter
---
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