28 lines
282 B
Go
28 lines
282 B
Go
package video
|
|
|
|
type VideoType int64
|
|
type videoStatus int64
|
|
|
|
// 0-上架、1-未上架
|
|
const (
|
|
Enable videoStatus = iota
|
|
Disable
|
|
)
|
|
|
|
// 1是AV、2是SP
|
|
const (
|
|
_ VideoType = iota
|
|
AV
|
|
SP
|
|
)
|
|
|
|
const AVLimit = 1
|
|
|
|
type recordType int64
|
|
|
|
const (
|
|
_ recordType = iota
|
|
Watch
|
|
Downlaoad
|
|
)
|