广告平台(媒体使用)
 
 
 
 
 
 

20 lignes
336 B

  1. package enum
  2. type PermissionGroupState int32
  3. const (
  4. PermissionGroupStateForNormal = 1
  5. PermissionGroupStateForDiscard = 2
  6. )
  7. func (gt PermissionGroupState) String() string {
  8. switch gt {
  9. case PermissionGroupStateForNormal:
  10. return "正常"
  11. case PermissionGroupStateForDiscard:
  12. return "废弃"
  13. default:
  14. return "未知"
  15. }
  16. }