zhangzengfei
2023-11-29 51df90c35ac63a429fd62ece79583611705e739b
test code
1个文件已修改
18 ■■■■ 已修改文件
hbusc.go 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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