manager.go 701 B

12345678910111213141516171819202122232425262728
  1. package manager
  2. // upper type.
  3. const (
  4. UpperTypeWhite int8 = 1
  5. UpperTypeBlack int8 = 2
  6. UpperTypePGC int8 = 3
  7. UpperTypeUGCX int8 = 3
  8. UpperTypePolitices int8 = 5
  9. UpperTypeEnterprise int8 = 7
  10. UpperTypeSigned int8 = 15
  11. )
  12. // first round audit result for video.
  13. const (
  14. FirstRoundLock int16 = -4 //锁定
  15. FirstRoundRejectBack int16 = -2 //打回
  16. FirstRoundWait int16 = -1 //待审
  17. FirstRoundOpen int16 = 0 //开放
  18. FirstRoundLoginOpen int16 = 10000 //会员开放(需登录,非VIP)
  19. )
  20. //User user info
  21. type User struct {
  22. ID int `json:"uid"`
  23. Username string `json:"username"`
  24. Department string `json:"department"`
  25. }