From db1fc49c3846fe3ee2c5faf15c9c019d8cf57f3e 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:35:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95SetMTPSStatus=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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/business/jxstore/cms/sync.go b/business/jxstore/cms/sync.go index 2953ba96f..2b208fcf7 100644 --- a/business/jxstore/cms/sync.go +++ b/business/jxstore/cms/sync.go @@ -1286,7 +1286,9 @@ func SetMTPSStatus(ctx *jxcontext.Context, StoreId, CourierStatus int) { //&& CourierStatus != 0 if StoreId != 0 { StoreLists, _ := dao.GetStoreList(nil, []int{StoreId}, nil, nil, nil, "") + globals.SugarLogger.Debug("StoreLists[0].Name", StoreLists[0].Name) StoreInfoList, _ := api.MtpsAPI.GetStoreStatus(StoreLists[0].Name) + globals.SugarLogger.Debug("美团查询结果", StoreInfoList) if StoreInfoList != nil && StoreInfoList.PoiName != "" { //若存在且名字不为空,就是找到了 if StoreInfoList.OpenType != CourierStatus {