retry.go 371 B

123456789101112131415161718
  1. package model
  2. // is
  3. const (
  4. TypeForUpdateVideo = int(0)
  5. TypeForDelVideo = int(1)
  6. TypeForUpdateArchive = int(2)
  7. )
  8. // RetryItem struct
  9. type RetryItem struct {
  10. Tp int `json:"type"`
  11. AID int64 `json:"aid"`
  12. CID int64 `json:"cid"`
  13. Old *Archive `json:"new_archive"`
  14. Nw *Archive `json:"old_archive"`
  15. Action string `json:"action"`
  16. }