From 98835938e295d6d20c0b437cda5fd48586d8c94b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Tue, 29 Mar 2022 18:36:46 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/store_sku.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/business/jxstore/cms/store_sku.go b/business/jxstore/cms/store_sku.go index ed1f64ef6..4334feeb1 100644 --- a/business/jxstore/cms/store_sku.go +++ b/business/jxstore/cms/store_sku.go @@ -746,7 +746,8 @@ func GetStoresSkus(ctx *jxcontext.Context, storeIDs, skuIDs []int, upcs []string } } if len(storeIDs2) == 0 { - storeIDs2 = append(storeIDs2, -1) + // todo 可能有问题 + storeIDs2 = append(storeIDs2, storeIDs...) } } else { for k, _ := range storeIDsMap {