From c5421213b2905021f838b8f909385e1c1dc2e8b7 Mon Sep 17 00:00:00 2001 From: gazebo Date: Tue, 16 Oct 2018 15:20:03 +0800 Subject: [PATCH] - fix bug in checkStoreExisting --- business/jxstore/cms/store_sku.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/cms/store_sku.go b/business/jxstore/cms/store_sku.go index f1b9e9f8b..67884afb8 100644 --- a/business/jxstore/cms/store_sku.go +++ b/business/jxstore/cms/store_sku.go @@ -563,7 +563,7 @@ func setStoreSkuBindStatus(skuBind *model.StoreSkuBind, status int8) { } func checkStoreExisting(db *dao.DaoDB, storeID int) (err error) { - store := model.Store{} + store := &model.Store{} store.ID = storeID if err = dao.GetEntity(db, store); err != nil { if err == orm.ErrNoRows {