diff --git a/business/jxstore/misc/misc.go b/business/jxstore/misc/misc.go index 5ae77c979..6d01eb3ed 100644 --- a/business/jxstore/misc/misc.go +++ b/business/jxstore/misc/misc.go @@ -420,8 +420,12 @@ func Init() { //刷新京东会员 //report.RefreshJDMembers(jxcontext.AdminCtx) cms.SetSingleStoreSkuSyncModifyStatus(dao.GetDB(), []int{1, 3}) - cms.CurVendorSync.SyncStoresSkus2(jxcontext.AdminCtx, nil, 0, dao.GetDB(), []int{1, 3}, nil, false, nil, nil, model.SyncFlagSaleMask, true, true) }, dailyWorkTimeList) + ScheduleTimerFunc("doDailyWork2-1", func() { + // 刷新商品,换个时间节点,房子请求超时 + cms.CurVendorSync.SyncStoresSkus2(jxcontext.AdminCtx, nil, 0, dao.GetDB(), []int{1, 3}, nil, false, nil, nil, model.SyncFlagSaleMask, true, true) + }, []string{"02:00:00"}) + ScheduleTimerFunc("doDailyWork3", func() { dao.SetStoresMapSyncStatus(dao.GetDB(), nil, nil, model.SyncFlagStoreStatus) cms.CurVendorSync.SyncStore2Time(jxcontext.AdminCtx, dao.GetDB(), []int{model.VendorIDMTWM, model.VendorIDJD, model.VendorIDEBAI, model.VendorIDDD}, nil, true, true) diff --git a/controllers/jd_callback.go b/controllers/jd_callback.go index db8c84dbc..7f635573f 100644 --- a/controllers/jd_callback.go +++ b/controllers/jd_callback.go @@ -145,9 +145,7 @@ func (c *DjswController) SinglePromoteCreate() { func (c *DjswController) StoreCrud() { if c.Ctx.Input.Method() == http.MethodPost { callbackResponse := c.handleMsg(func(a *jdapi.API, obj interface{}) (callbackResponse *jdapi.CallbackResponse) { - globals.SugarLogger.Debugf("==========DjswController StoreCrud: %s", utils.Format4Output(obj, false)) callbackResponse = jd.OnStoreMsg(obj.(*jdapi.CallbackOrderMsg)) - globals.SugarLogger.Debugf("==========c.data : %s", utils.Format4Output(c.transferResponse("StoreCrud", callbackResponse), false)) return callbackResponse }) callbackResponse = jdapi.Err2CallbackResponse(nil, "")