This commit is contained in:
suyl
2021-08-10 15:07:22 +08:00
parent 6fed882155
commit f1914aad10

View File

@@ -1958,6 +1958,7 @@ func TempJob() (err error) {
// }, []int{0, 1}) // }, []int{0, 1})
//tasksch.HandleTask(task, nil, true).Run() //tasksch.HandleTask(task, nil, true).Run()
//task.GetID() //task.GetID()
fmt.Println(111111111111111111111111111111111)
MtUnionJobAutoUpdate(jxcontext.AdminCtx) MtUnionJobAutoUpdate(jxcontext.AdminCtx)
return err return err
} }
@@ -2153,6 +2154,7 @@ func MtUnionJobAutoUpdate(ctx *jxcontext.Context) {
addList []*mtunionapi.ActivityListResult addList []*mtunionapi.ActivityListResult
now = time.Now() now = time.Now()
) )
fmt.Println("2222222222222222222222222222222222222222")
//先找出美团联盟所有发布任务(此任务只用于显示) //先找出美团联盟所有发布任务(此任务只用于显示)
jobs, _ := dao.GetJobsNoPage(db, nil, []int{model.VendorIDMTWM}, []int{model.JobCategoryIDUnion}, []int{model.JobStatusDoing}, nil, utils.ZeroTimeValue, utils.ZeroTimeValue, 0, false) jobs, _ := dao.GetJobsNoPage(db, nil, []int{model.VendorIDMTWM}, []int{model.JobCategoryIDUnion}, []int{model.JobStatusDoing}, nil, utils.ZeroTimeValue, utils.ZeroTimeValue, 0, false)
//再查美团联盟上的所有活动 //再查美团联盟上的所有活动