go-common/app/interface/main/creative/model/version/version.go

22 lines
453 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package version
import (
xtime "go-common/library/time"
)
// Version str.
type Version struct {
ID int64 `json:"id"`
Ty string `json:"type"`
Title string `json:"title"`
Content string `json:"content"`
Link string `json:"link"`
Ctime xtime.Time `json:"-"`
Dateline xtime.Time `json:"dateline"`
}
// FullVersions fn 4=>Android;5:iPhone;6:PC
func FullVersions() (tys []int) {
return []int{4, 5, 6}
}