go-common/app/job/main/videoup/model/manager/manager.go
2019-04-22 18:49:16 +08:00

29 lines
701 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package manager
// upper type.
const (
UpperTypeWhite int8 = 1
UpperTypeBlack int8 = 2
UpperTypePGC int8 = 3
UpperTypeUGCX int8 = 3
UpperTypePolitices int8 = 5
UpperTypeEnterprise int8 = 7
UpperTypeSigned int8 = 15
)
// first round audit result for video.
const (
FirstRoundLock int16 = -4 //锁定
FirstRoundRejectBack int16 = -2 //打回
FirstRoundWait int16 = -1 //待审
FirstRoundOpen int16 = 0 //开放
FirstRoundLoginOpen int16 = 10000 //会员开放(需登录非VIP)
)
//User user info
type User struct {
ID int `json:"uid"`
Username string `json:"username"`
Department string `json:"department"`
}