From 7e8b91aff60f16b14c863cf577843c42554f143a Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期三, 29 十一月 2023 18:05:43 +0800 Subject: [PATCH] test code --- hbusc.go | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/hbusc.go b/hbusc.go index d14efc7..8ce6a7b 100644 --- a/hbusc.go +++ b/hbusc.go @@ -301,14 +301,17 @@ if err != nil { return err } + rep := bhome_msg.MsgRequestTopicReply{ Data: data, } - if bhsgo.SendReply(src, &rep) { - return nil - } - - return errors.New("reply return false") + h.printLog(rep) + return nil + //if bhsgo.SendReply(src, &rep) { + // return nil + //} + // + //return errors.New("reply return false") } func (h *BHBus) RequestCenter() ([]*bhome_msg.MsgQueryProcReply_Info, error) { -- Gitblit v1.8.0