fix: 修复 RSS 解析返回的条目数量,确保返回第一个条目的信息

This commit is contained in:
lixiangwuxian 2025-07-16 15:39:30 +08:00
parent 81dd697d7e
commit 8deb74e9a4

View File

@ -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,
}