From 8782f01ec8eb904568317878860f7d819b75acf1 Mon Sep 17 00:00:00 2001 From: shy Date: Sun, 5 Jun 2022 17:18:23 +0800 Subject: [PATCH] opt some --- base/web/spide.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/base/web/spide.go b/base/web/spide.go index f828ca39..4c8aa48b 100644 --- a/base/web/spide.go +++ b/base/web/spide.go @@ -112,8 +112,7 @@ func _spide_list(m *ice.Message, arg ...string) { // 错误信息 if m.Warn(res.StatusCode != http.StatusOK, ice.ErrNotFound, uri, "status", res.Status) { - b, _ := ioutil.ReadAll(res.Body) - m.Debug("whhat %v", string(b)) + // b, _ := ioutil.ReadAll(res.Body) switch m.Set(ice.MSG_RESULT); res.StatusCode { case http.StatusNotFound: m.Warn(true, ice.ErrNotFound, uri) @@ -142,7 +141,6 @@ func _spide_body(m *ice.Message, method string, arg ...string) (io.Reader, map[s data = append(data, url.QueryEscape(arg[i])+"="+url.QueryEscape(arg[i+1])) } body = bytes.NewBufferString(strings.Join(data, "&")) - m.Debug("what %v", strings.Join(data, "&")) head[ContentType] = ContentFORM case SPIDE_PART: