fix: 补充说明
This commit is contained in:
@@ -47,10 +47,10 @@ type FilterOption struct {
|
||||
type FeedDetailArgs struct {
|
||||
FeedID string `json:"feed_id" jsonschema:"小红书笔记ID,从Feed列表获取"`
|
||||
XsecToken string `json:"xsec_token" jsonschema:"访问令牌,从Feed列表的xsecToken字段获取"`
|
||||
LoadAllComments bool `json:"load_all_comments,omitempty" jsonschema:"是否加载全部评论(默认false,仅返回首批评论)"`
|
||||
LoadAllComments bool `json:"load_all_comments,omitempty" jsonschema:"是否加载全部评论(默认false,仅返回首批一级评论)"`
|
||||
ClickMoreReplies bool `json:"click_more_replies,omitempty" jsonschema:"是否点击'更多回复'按钮 (默认: false)"`
|
||||
MaxRepliesThreshold int `json:"max_replies_threshold,omitempty" jsonschema:"回复数量阈值,超过此数量的'更多'按钮将被跳过 (0表示不跳过任何, 默认: 10)"`
|
||||
MaxCommentItems int `json:"max_comment_items,omitempty" jsonschema:"最大加载评论数(0表示加载所有, 默认: 0)"`
|
||||
MaxCommentItems int `json:"max_comment_items,omitempty" jsonschema:"最大加载一级评论数(0表示加载所有一级评论, 默认: 0)"`
|
||||
ScrollSpeed string `json:"scroll_speed,omitempty" jsonschema:"滚动速度: 'slow'|'normal'|'fast' (默认: 'normal')"`
|
||||
}
|
||||
|
||||
|
||||
2
types.go
2
types.go
@@ -40,7 +40,7 @@ type CommentLoadConfig struct {
|
||||
ClickMoreReplies bool `json:"click_more_replies,omitempty"`
|
||||
// 回复数量阈值,超过这个数量的"更多"按钮将被跳过(0表示不跳过任何)
|
||||
MaxRepliesThreshold int `json:"max_replies_threshold,omitempty"`
|
||||
// 最大加载评论数(comment-item数量),0表示加载所有
|
||||
// 最大加载评论数(.parent-comment数量),0表示加载所有
|
||||
MaxCommentItems int `json:"max_comment_items,omitempty"`
|
||||
// 滚动速度等级: slow(慢速), normal(正常), fast(快速)
|
||||
ScrollSpeed string `json:"scroll_speed,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user