aa
This commit is contained in:
@@ -103,6 +103,8 @@ func SyncCategories(ctx *jxcontext.Context, parentTask tasksch.ITask, vendorIDs
|
|||||||
needSyncParentIDs = append(needSyncParentIDs, cat.ParentID)
|
needSyncParentIDs = append(needSyncParentIDs, cat.ParentID)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
fmt.Println("22222222222222222222222", utils.Format4Output(catList, false))
|
||||||
|
fmt.Println("22222222222222222222222", utils.Format4Output(needSyncParentIDs, false))
|
||||||
if len(needSyncParentIDs) > 0 {
|
if len(needSyncParentIDs) > 0 {
|
||||||
task := tasksch.NewSeqTask(fmt.Sprintf("同步分类1:%v", catIDs), ctx,
|
task := tasksch.NewSeqTask(fmt.Sprintf("同步分类1:%v", catIDs), ctx,
|
||||||
func(task *tasksch.SeqTask, step int, params ...interface{}) (result interface{}, err error) {
|
func(task *tasksch.SeqTask, step int, params ...interface{}) (result interface{}, err error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user