fix: 修改 help 函数中的内容字段为指针类型,以确保数据正确传递
This commit is contained in:
parent
cd92d05a18
commit
58cc070c81
@ -34,7 +34,7 @@ func help(msg model.Message) *model.Reply {
|
||||
nodeMsg.Data.ID = "10086"
|
||||
nodeMsg.Data.UserID = "123456789"
|
||||
nodeMsg.Data.Nickname = "test"
|
||||
nodeMsg.Data.Content = []any{textMsg}
|
||||
nodeMsg.Data.Content = []any{&textMsg}
|
||||
return &model.Reply{
|
||||
ReplyMsg: []any{&nodeMsg},
|
||||
ReferOriginMsg: false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user