fix: 修复 RSS 解析返回的条目数量,确保返回第一个条目的信息
This commit is contained in:
parent
81dd697d7e
commit
8deb74e9a4
@ -36,7 +36,7 @@ func TestRss(msg model.Message) (reply *model.Reply) {
|
||||
}
|
||||
}
|
||||
return &model.Reply{
|
||||
ReplyMsg: fmt.Sprintf("解析RSS源成功: %d 个条目\n%v", len(items), items),
|
||||
ReplyMsg: fmt.Sprintf("解析RSS源成功: %d 个条目\n%v", len(items), items[0]),
|
||||
ReferOriginMsg: true,
|
||||
FromMsg: msg,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user