medal.go 368 B

123456789101112131415161718192021
  1. package model
  2. const (
  3. // OwnerInstall is_activated=1.
  4. OwnerInstall = 1
  5. // OwnerUninstall is_activated=0.
  6. OwnerUninstall = 0
  7. )
  8. // UpInfo .
  9. type UpInfo struct {
  10. Code int `json:"code"`
  11. Data []*UpInfoGroup `json:"results"`
  12. }
  13. // UpInfoGroup .
  14. type UpInfoGroup struct {
  15. ID int64 `json:"id"`
  16. Desc string `json:"desc"`
  17. Mids []int64 `json:"mids"`
  18. }