diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index 695d8d49f..4bc1e6a7c 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -746,7 +746,7 @@ func EnableHaveRestStores(ctx *jxcontext.Context, isAsync, isContinueWhenError b if store.AutoEnableAt != nil { autoEnableAt = *store.AutoEnableAt } else { - autoEnableAt = utils.Time2Date(time.Now().Add(24 * time.Hour)) // 临时休息,但没有设置恢复营业时间,缺省是第二天 + autoEnableAt = utils.Time2Date(time.Now().Add(12 * time.Hour)) // 临时休息,但没有设置恢复营业时间,缺省是第二天 } if time.Now().Sub(autoEnableAt) >= -2*time.Hour { err = SetStoreStatus(ctx, store.ID, model.StoreStatusOpened)