micronode.go
@@ -249,7 +249,9 @@ //发布到本机 func (ms *MicroNode) Publish(topic string,msg []byte) error { nodes := append([]bhomebus.NetNode{}, bhomebus.NetNode{}) nodes := append([]bhomebus.NetNode{}, bhomebus.NetNode{ Key: 8, }) return ms.PublishNet(nodes, topic, msg) }