new_search (#238)
Co-authored-by: Buf Generate <buf-generate@bondee.com>
This commit is contained in:
7
types.go
7
types.go
@@ -1,5 +1,7 @@
|
||||
package main
|
||||
|
||||
import "github.com/xpzouying/xiaohongshu-mcp/xiaohongshu"
|
||||
|
||||
// HTTP API 响应类型
|
||||
|
||||
// ErrorResponse 错误响应
|
||||
@@ -38,6 +40,11 @@ type FeedDetailRequest struct {
|
||||
XsecToken string `json:"xsec_token" binding:"required"`
|
||||
}
|
||||
|
||||
type SearchFeedsRequest struct {
|
||||
Keyword string `json:"keyword" binding:"required"`
|
||||
Filters []xiaohongshu.FilterOption `json:"filters" binding:"required"`
|
||||
}
|
||||
|
||||
// FeedDetailResponse Feed详情响应
|
||||
type FeedDetailResponse struct {
|
||||
FeedID string `json:"feed_id"`
|
||||
|
||||
Reference in New Issue
Block a user