This commit is contained in:
苏尹岚
2021-01-04 14:47:14 +08:00
parent 6ce886212f
commit c659732c5d
4 changed files with 19 additions and 13 deletions

View File

@@ -122,8 +122,8 @@ type Job struct {
SkuURL string `orm:"column(sku_url)" json:"skuURL"` //商品优惠券链接
Type int `json:"type"` //任务类型0为普通任务1为特殊任务
BrowseCount int `json:"browseCount"` //任务浏览量,点一下加一下
JobSteps []*JobStep `orm:"-" json:"jobSteps"`
JobImgs []*JobImg `orm:"-" json:"jobImgs"`
// JobSteps []*JobStep `orm:"-" json:"jobSteps"`
// JobImgs []*JobImg `orm:"-" json:"jobImgs"`
}
func (v *Job) TableIndex() [][]string {
@@ -136,6 +136,8 @@ func (v *Job) TableIndex() [][]string {
type JobExt struct {
FinishedAtStr string `json:"finishedAtStr"` //接单截止日期
Job
JobSteps []*JobStep `orm:"-" json:"jobSteps"`
JobImgs []*JobImg `orm:"-" json:"jobImgs"`
}
type JobImg struct {