This commit is contained in:
苏尹岚
2020-11-11 18:39:35 +08:00
parent 19c58e4b4a
commit 788c73a734
2 changed files with 79 additions and 55 deletions

View File

@@ -55,9 +55,9 @@ func (p *PurchaseHandler) getStoreSkusBareInfoLimitSize(ctx *jxcontext.Context,
sku := storeSkuMap[utils.Int64ToStr(v.SkuID)]
sku.Status = jdStoreSkuStatus2Jx(v.Vendibility)
sku.Stock = v.UsableQty
if sku.Stock > 0 {
outStoreSkuList = append(outStoreSkuList, sku)
}
// if sku.Stock > 0 {
outStoreSkuList = append(outStoreSkuList, sku)
// }
}
for _, v := range priceInfo {
sku := storeSkuMap[utils.Int64ToStr(v.SkuID)]