Initial commit

This commit is contained in:
Donny
2019-04-22 20:46:32 +08:00
commit 49ab8aadd1
25441 changed files with 4055000 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
package model
import (
xtime "go-common/library/time"
)
// Task is laser task
type Task struct {
ID int64 `json:"id"`
AdminID int64 `json:"admin_id"`
MID int64 `json:"mid"`
LogDate xtime.Time `json:"log_date"`
ContactEmail string `json:"contact_email"`
SourceType int `json:"source_type"`
Platform int `json:"platform"`
State int `json:"state"`
IsDeleted int `json:"is_deleted"`
CTime xtime.Time `json:"ctime"`
MTime xtime.Time `json:"mtime"`
}
const (
ALL_PLATFORM = iota
)
// TaskInfo is to set as value of memcache key(mid)
type TaskInfo struct {
MID int64
LogDate xtime.Time
SourceType int
Platform int
Empty bool
}