schema

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DouYinSearchVideoReq

type DouYinSearchVideoReq struct {
	Keyword  string `json:"keyword"`   // 搜索关键词
	Count    int    `json:"count"`     // 返回数量
	Cursor   int    `json:"cursor"`    // 游标,用于分页
	DeviceId string `json:"device_id"` // 设备ID
}

DouYinSearchVideoReq 抖音视频搜索请求参数

type DouYinSearchVideoRes

type DouYinSearchVideoRes struct {
	// Extra 包含通用的响应扩展字段,如 log_id、now、error_code 等。
	Extra response.DouYinRes `json:"extra,omitempty"`

	// Data 业务数据主体。
	Data struct {
		Data struct {
			// Data通用返回信息
			response.DouYinRes
			// VideoList 视频列表 []schema.Video
			VideoList []schema.Video `json:"video_list"`
			// SearchId 搜索ID
			SearchId string `json:"search_id"`
		} `json:"data"`
	} `json:"data"`
}

DouYinSearchVideoRes 抖音视频搜索响应结构

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL