publish

package
v0.0.0-...-48f44c5 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DouyinPublishActionRequest

type DouyinPublishActionRequest struct {
	Token string                `json:"token,required" form:"token,required" query:"token,required"` // 用户鉴权token
	Data  *multipart.FileHeader `form:"data,required"`                                               // 视频数据
	Title string                `json:"title,required" form:"title,required" query:"title,required"` // 视频标题
}

type DouyinPublishActionResponse

type DouyinPublishActionResponse struct {
	StatusCode int32  `json:"status_code,required" form:"status_code,required" query:"status_code,required"` // 状态码,0-成功,其他值-失败
	StatusMsg  string `json:"status_msg,omitempty" form:"status_msg" query:"status_msg"`                     // 返回状态描述
}

type DouyinPublishListRequest

type DouyinPublishListRequest struct {
	UserId int64  `json:"user_id,required" form:"user_id,required" query:"user_id,required"` // 用户id
	Token  string `json:"token,required" form:"token,required" query:"token,required"`       // 用户鉴权token
}

type DouyinPublishListResponse

type DouyinPublishListResponse struct {
	StatusCode int32          `json:"status_code,required" form:"status_code,required" query:"status_code,required"` // 状态码,0-成功,其他值-失败
	StatusMsg  string         `json:"status_msg,omitempty" form:"status_msg" query:"status_msg"`                     // 返回状态描述
	VideoList  []common.Video `json:"video_list" form:"video_list" query:"video_list"`                               // 用户发布的视频列表
}

Jump to

Keyboard shortcuts

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