| | |
| | | |
| | | import ( |
| | | "basic.com/pubsub/protomsg.git" |
| | | "basic.com/valib/bhshmq.git/proto/source/bhome_msg" |
| | | "basic.com/valib/c_bhomebus.git/proto/source/bhome_msg" |
| | | "encoding/json" |
| | | ) |
| | | |
| | |
| | | return res.Success,res.Data |
| | | } |
| | | |
| | | func (api SysSetApi) SyncDevToManager(addr []bhome_msg.BHAddress, paramBody map[string]interface{}) (bool, interface{}) { |
| | | func (api SysSetApi) SyncDevToManager(addr []*bhome_msg.MsgQueryTopicReply_BHNodeAddress, paramBody map[string]interface{}) (bool, interface{}) { |
| | | url := DATA_URL_PREFIX + "/device/syncDevToManager" |
| | | client := NewClient(WithNodes(addr)) |
| | | |