From 210366428ad709398365dc947ee71d15760c1408 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Wed, 25 Mar 2020 14:17:13 +0800 Subject: [PATCH] =?UTF-8?q?=E9=93=B6=E8=B1=B9=E7=BB=91=E5=AE=9A=E5=88=A4?= =?UTF-8?q?=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/store.go | 1 + 1 file changed, 1 insertion(+) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index b796cc7e3..e27766a49 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -2888,6 +2888,7 @@ func checkAppIDAndAppKey(db *dao.DaoDB, storeMap *model.StoreMap, storeID int) ( if appKey == "" { return fmt.Errorf("绑定银豹平台必须输入appKey!") } + api.YinBaoAPI = yinbaoapi.New(appKey, appID) _, err = api.YinBaoAPI.QueryProductByBarcode("") if err != nil { if errCode, ok := err.(*utils.ErrorWithCode); ok {