state.go 848 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. package model
  2. // consts for state
  3. const (
  4. // Group and Challenge State field
  5. Pending = int8(0) // 未处理
  6. Effective = int8(1) // 有效
  7. Invalid = int8(2) // 无效
  8. RoleShift = int8(3) // 流转
  9. Deleted = int8(9) // 已删除
  10. PublicReferee = int8(10) // 移交众裁
  11. // dispatch_state offset bit
  12. AuditorStateOffset = 0
  13. CSStateOffset = 4
  14. QueueState = 15 // 队列中审核状态
  15. QueueBusinessState = 15 // 队列中客服状态
  16. QueueStateBefore = 0 // 默认审核状态
  17. QueueBusinessStateBefore = 1 // 默认客服状态
  18. // 反馈状态
  19. FeedbackReplyNotRead = 6 // 已回复未读
  20. )
  21. // platform state
  22. const (
  23. PlatformStateHandling = iota + 1
  24. PlatformStateDone
  25. PlatformStateClosed
  26. )
  27. // business round
  28. const (
  29. AuditRoundMin = 1
  30. AuditRoundMax = 10
  31. FeedbackRound = 11
  32. )