go-common/app/job/main/archive-shjd/model/retry.go
2019-04-22 18:49:16 +08:00

19 lines
371 B
Go

package model
// is
const (
TypeForUpdateVideo = int(0)
TypeForDelVideo = int(1)
TypeForUpdateArchive = int(2)
)
// RetryItem struct
type RetryItem struct {
Tp int `json:"type"`
AID int64 `json:"aid"`
CID int64 `json:"cid"`
Old *Archive `json:"new_archive"`
Nw *Archive `json:"old_archive"`
Action string `json:"action"`
}