From c96bc4d8593c2f995388f24e8de94fff08755309 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B9=B3=E5=87=A1=E6=A2=A6?= Date: Thu, 9 Jul 2020 10:25:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3SetMTPSStatus=E8=B0=83?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/sync.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/business/jxstore/cms/sync.go b/business/jxstore/cms/sync.go index a1fee52af..2953ba96f 100644 --- a/business/jxstore/cms/sync.go +++ b/business/jxstore/cms/sync.go @@ -1283,7 +1283,8 @@ func SetMTPSStatus(ctx *jxcontext.Context, StoreId, CourierStatus int) { globals.SugarLogger.Debug("StoreOpenAll skuID is start ") globals.SugarLogger.Debug("StoreId", "CourierStatus", StoreId, CourierStatus) /*获取美团门店信息*/ - if StoreId != 0 && CourierStatus != 0 { + //&& CourierStatus != 0 + if StoreId != 0 { StoreLists, _ := dao.GetStoreList(nil, []int{StoreId}, nil, nil, nil, "") StoreInfoList, _ := api.MtpsAPI.GetStoreStatus(StoreLists[0].Name) if StoreInfoList != nil && StoreInfoList.PoiName != "" {