@@ -0,0 +1,41 @@
|
||||
package sharemod
|
||||
|
||||
import "91porn-server/models/v/vidmod"
|
||||
|
||||
// VShareReq 内容分享请求
|
||||
type VShareReq struct {
|
||||
Content string `form:"content" json:"content"`
|
||||
VideoID string `form:"videoID" json:"videoID"` // 可选;视频分享成功时用于累计真实推荐分
|
||||
EventID string `form:"eventId" json:"eventId"` // 可选;同一次真实分享事件重试时保持不变,用于推荐分幂等
|
||||
ObjType string `form:"objType" json:"objType"` // drama 表示短剧分享
|
||||
MediaID string `form:"mediaID" json:"mediaID"`
|
||||
ContentID string `form:"contentID" json:"contentID"`
|
||||
}
|
||||
|
||||
// VShareCntReq 视频分享次数
|
||||
type VShareCntReq struct {
|
||||
VideoID string `form:"videoID" json:"videoID"`
|
||||
}
|
||||
|
||||
// VShareResp 内容分享应答
|
||||
type VShareResp struct {
|
||||
QrCode []byte `json:"qrCode"`
|
||||
}
|
||||
|
||||
// VShareCntResp 分享次数应答
|
||||
type VShareCntResp struct {
|
||||
VidelID string `json:"videoID"`
|
||||
Cnt int `json:"cnt"`
|
||||
}
|
||||
|
||||
// List 分享推荐列表
|
||||
type List struct {
|
||||
Title string `json:"title"`
|
||||
Cover string `json:"cover"`
|
||||
SourceUrl string `json:"sourceUrl"`
|
||||
LandUrl string `json:"landUrl"`
|
||||
PicUrl string `json:"picUrl"`
|
||||
Tags []string `json:"tags"`
|
||||
DownloadUrl string `json:"downloadUrl"`
|
||||
List []vidmod.ShareInfo `json:"list"`
|
||||
}
|
||||
Reference in New Issue
Block a user