From aeeadc95e1b1218a85f3b48da8dc5b4b57aeb219 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期一, 24 五月 2021 18:43:02 +0800
Subject: [PATCH] add GetVssChannel

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