zhangmeng
2024-01-18 ab160990786e0d1e62d0b70779e6c24669d512e9
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"
   "encoding/json"
   "basic.com/valib/c_bhomebus.git/api/bhsgo"
   "basic.com/valib/c_bhomebus.git/proto/source/bhome_msg"
   json "github.com/json-iterator/go"
   "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: