From 8494d429608891295c5f798eaa76c4bd23e67684 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Fri, 8 May 2020 17:51:31 +0800 Subject: [PATCH] =?UTF-8?q?getvendorstore=20=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/store.go | 1 + business/partner/purchase/jdshop/jds.go | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index 49fbe37b9..0b73b2a2e 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -642,6 +642,7 @@ func getMapCenter(storeList []*StoreExt) (lng, lat float64) { func GetVendorStore(ctx *jxcontext.Context, vendorID int, vendorOrgCode, vendorStoreID string) (retVal *StoreExt, err error) { if handler := CurVendorSync.GetStoreHandler(vendorID); handler != nil { + fmt.Println("test1", handler) result, err2 := handler.ReadStore(ctx, vendorOrgCode, vendorStoreID) if err = err2; err == nil { retVal = &StoreExt{ diff --git a/business/partner/purchase/jdshop/jds.go b/business/partner/purchase/jdshop/jds.go index 1502b19c3..7b7c74dd2 100644 --- a/business/partner/purchase/jdshop/jds.go +++ b/business/partner/purchase/jdshop/jds.go @@ -1,8 +1,6 @@ package jdshop import ( - "fmt" - "git.rosy.net.cn/jx-callback/business/jxutils/jxcontext" "git.rosy.net.cn/jx-callback/business/model" "git.rosy.net.cn/jx-callback/business/partner" @@ -21,7 +19,6 @@ type PurchaseHandler struct { func init() { if api.JdShopAPI != nil { - fmt.Println("test111111111111111111111") CurPurchaseHandler = New() partner.RegisterPurchasePlatform(CurPurchaseHandler) }