zhangzengfei
2023-11-29 51df90c35ac63a429fd62ece79583611705e739b
hbusc.go
@@ -297,15 +297,15 @@
}
func (h *BHBus) Reply(src unsafe.Pointer, i *Reply) error {
   data,err := json.Marshal(i)
   if err != nil {
      return err
   }
   rep := bhome_msg.MsgRequestTopicReply{
      Data: data,
   }
   h.printLog(rep)
   //data,err := json.Marshal(i)
   //if err != nil {
   //   return err
   //}
   //
   //rep := bhome_msg.MsgRequestTopicReply{
   //   Data: data,
   //}
   //h.printLog(rep)
   return nil
   //if bhsgo.SendReply(src, &rep) {
   //   return nil