From e904a0672267d8f1b25fe92d0b08282f8b5b8d18 Mon Sep 17 00:00:00 2001 From: heyujie <516346543@qq.com> Date: 星期五, 26 十一月 2021 14:01:30 +0800 Subject: [PATCH] 增加接口 GetUserProfile --- sbusClient.go | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/sbusClient.go b/sbusClient.go index 6d4471c..abfe693 100644 --- a/sbusClient.go +++ b/sbusClient.go @@ -1,15 +1,15 @@ package bhomedbapi import ( - "basic.com/valib/bhshmq.git/api/bhsgo" - "basic.com/valib/bhshmq.git/proto/source/bhome_msg" + "basic.com/valib/c_bhomebus.git/api/bhsgo" + "basic.com/valib/c_bhomebus.git/proto/source/bhome_msg" "encoding/json" "errors" "strconv" ) 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