Documentation ¶
Index ¶
- Constants
- Variables
- func IsRecommendSvStateAvailable(state int64) (available bool)
- func IsSearchSvStateAvailable(state int64) (available bool)
- func IsSvStateAvailable(state int64) (available bool)
- func IsSvStateGuestAvailable(state int64) (available bool)
- func IsSvStateOwnerAvailable(state int64) (available bool)
- func IsTopicSvStateAvailable(state int64) (available bool)
Constants ¶
View Source
const ( //VideoStRecommend 精选,在APP端加权露出 VideoStRecommend = 5 //VideoStHighGrade 优质,回查被选为优质,在APP端普通露出 VideoStHighGrade = 4 //VideoStCanPlay 回查可放出,在APP端普通露出 VideoStCanPlay = 3 //VideoStCheckBack 待冷启动回查,在APP端部分区域露出 VideoStCheckBack = 2 //VideoStPassReview 新鲜,安全审核通过,在APP端普通露出 VideoStPassReview = 1 //VideoStPendingPassReview 新鲜,未安全审核,在APP端普通露出 VideoStPendingPassReview = 0 //VideoStPassReviewReject 待安全审核,在APP端仅自见 VideoStPassReviewReject = -1 //VideoStCheckBackPatialPlay 回查不放出,在APP部分放出 VideoStCheckBackPatialPlay = -2 //VideoInActive 安全审核不通过,在APP端不可见,待物理删除 VideoInActive = -3 //VideoDeleted Up主删除,在APP端不可见,待物理删除 VideoDeleted = -4 )
视频状态集合
Variables ¶
View Source
var FeedStates = xstr.JoinInts(svFeedOutStates)
FeedStates .
View Source
var SpaceFanStates = xstr.JoinInts(svSpaceFanOutStates)
SpaceFanStates .
View Source
var SpaceOwnerStates = xstr.JoinInts(svSpaceOwnerOutStates)
SpaceOwnerStates .
View Source
var SvAllOutState = []int16{ VideoStPendingPassReview, VideoStPassReview, VideoStCanPlay, VideoStHighGrade, VideoStRecommend, }
SvAllOutState APP全部可露出状态
Functions ¶
func IsRecommendSvStateAvailable ¶
IsRecommendSvStateAvailable 推荐页中的状态过滤
func IsSearchSvStateAvailable ¶
IsSearchSvStateAvailable 搜索页中的状态过滤
func IsSvStateAvailable ¶
IsSvStateAvailable 广义上是否可见,包含用户自见state,用于获取详情,当前和owner available一致
func IsSvStateGuestAvailable ¶
IsSvStateGuestAvailable 客态可见的视频状态
func IsSvStateOwnerAvailable ¶
IsSvStateOwnerAvailable 主态可见的视频状态
func IsTopicSvStateAvailable ¶
IsTopicSvStateAvailable 话题页中的状态过滤
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.