From adf129ea01c14134ed39528fecdd3aaaa508a7f2 Mon Sep 17 00:00:00 2001 From: gazebo Date: Sat, 12 Oct 2019 16:40:31 +0800 Subject: [PATCH] up --- 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 ee0491139..87fc6ef99 100644 --- a/business/jxstore/cms/store_sku.go +++ b/business/jxstore/cms/store_sku.go @@ -1212,7 +1212,7 @@ func UpdateStoresSkusSale(ctx *jxcontext.Context, storeIDs []int, skuBindSkuInfo } func CopyStoreSkus(ctx *jxcontext.Context, fromStoreID, toStoreID int, copyMode string, params map[string]interface{}, userName string) (num int64, err error) { - if copyMode != CopyStoreSkuModeFresh && copyMode != CopyStoreSkuModeUpdate { + if copyMode != CopyStoreSkuModeFresh && copyMode != CopyStoreSkuModeUpdate && copyMode != CopyStoreSkuModeUpdatePrice { return 0, fmt.Errorf("不支持的拷贝模式:%s", copyMode) }