From c8f702a861f2c7dbe2f668d9ca47b8866745db32 Mon Sep 17 00:00:00 2001 From: gazebo Date: Thu, 10 Oct 2019 09:44:31 +0800 Subject: [PATCH] up --- business/jxstore/cms/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)