aa
This commit is contained in:
@@ -294,6 +294,7 @@ func Init() {
|
|||||||
ScheduleTimerFunc("doDailyWork2", func() {
|
ScheduleTimerFunc("doDailyWork2", func() {
|
||||||
//刷新京东会员
|
//刷新京东会员
|
||||||
report.RefreshJDMembers(jxcontext.AdminCtx)
|
report.RefreshJDMembers(jxcontext.AdminCtx)
|
||||||
|
cms.CurVendorSync.SyncStoresSkus2(jxcontext.AdminCtx, nil, 0, dao.GetDB(), []int{1, 3}, nil, false, nil, nil, model.SyncFlagSaleMask, true, true)
|
||||||
}, dailyWorkTimeList)
|
}, dailyWorkTimeList)
|
||||||
ScheduleTimerFunc("doDailyWork3", func() {
|
ScheduleTimerFunc("doDailyWork3", func() {
|
||||||
dao.SetStoresMapSyncStatus(dao.GetDB(), nil, nil, model.SyncFlagStoreStatus)
|
dao.SetStoresMapSyncStatus(dao.GetDB(), nil, nil, model.SyncFlagStoreStatus)
|
||||||
|
|||||||
@@ -1984,7 +1984,7 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
|
|||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
//}
|
//}
|
||||||
cms.RefreshPageStore()
|
cms.CurVendorSync.SyncStoresSkus2(jxcontext.AdminCtx, nil, 0, dao.GetDB(), []int{1, 3}, nil, false, nil, nil, model.SyncFlagSaleMask, true, true)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user