From 637fe487fd962756d18a86a98b63f878becb48a2 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:17:23 +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/store.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index ef6187168..8d4f0061e 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -1515,8 +1515,10 @@ func GetStoreCourierMaps(ctx *jxcontext.Context, db *dao.DaoDB, storeID int, ven for _, v := range storeCourierMaps { if v.VendorID != model.VendorIDMTPS { continue + } else { + SetMTPSStatus(jxcontext.AdminCtx, v.StoreID, v.Status) + break } - SetMTPSStatus(jxcontext.AdminCtx, v.StoreID, v.Status) } } return storeCourierMaps, err