From bf35e6daea1d32914bf2114afdbc2e17de8f850e Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期四, 14 一月 2021 18:00:52 +0800
Subject: [PATCH] Request 添加日志

---
 micronode.go |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/micronode.go b/micronode.go
index 5e105d2..1055724 100644
--- a/micronode.go
+++ b/micronode.go
@@ -112,11 +112,7 @@
 
 func (ms *MicroNode) Request(serverId string, request Request) (*Reply,error) {
 	t := time.Now()
-	topicName := request.Header("Servicename")
 
-	if topicName == "" {
-		return nil,errors.New("Servicename 涓嶈兘涓虹┖")
-	}
 	ms.printLog("1:", time.Since(t))
 	t = time.Now()
 	rb, _ := json.Marshal(request)

--
Gitblit v1.8.0