From 29d4acd7aba5848d43aa8ac646e14d2abb1fd971 Mon Sep 17 00:00:00 2001 From: haozhifeng <haozhifeng> Date: 星期五, 13 八月 2021 19:09:37 +0800 Subject: [PATCH] fix --- sbusClient.go | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/sbusClient.go b/sbusClient.go index 6d4471c..40d464b 100644 --- a/sbusClient.go +++ b/sbusClient.go @@ -9,7 +9,7 @@ ) type SBusClient struct { - nodes []bhome_msg.BHAddress + nodes []*bhome_msg.MsgQueryTopicReply_BHNodeAddress } type ProcInfo struct { @@ -68,6 +68,7 @@ if contentType == CONTENT_TYPE_FORM || contentType == CONTENT_TYPE_MULFORM { if body != nil { req.PostFormMap = make(map[string][]string) + req.FormMap = map[string][]string{} for k,v := range body { switch v.(type) { case string: -- Gitblit v1.8.0