This commit is contained in:
邹宗楠
2022-03-29 18:36:46 +08:00
parent 77e99d3bdf
commit 98835938e2

View File

@@ -746,7 +746,8 @@ func GetStoresSkus(ctx *jxcontext.Context, storeIDs, skuIDs []int, upcs []string
} }
} }
if len(storeIDs2) == 0 { if len(storeIDs2) == 0 {
storeIDs2 = append(storeIDs2, -1) // todo 可能有问题
storeIDs2 = append(storeIDs2, storeIDs...)
} }
} else { } else {
for k, _ := range storeIDsMap { for k, _ := range storeIDsMap {