Commit 64597e46 by mushishixian

fix

parent eb7d370b
Showing with 4 additions and 4 deletions
......@@ -162,10 +162,10 @@ func (ls *LyService) LyGoodsDetail(ctx *gin.Context, goodsIds []string, ch chan
//判断是否可以购买
sku.IsBuy = ls.GetIsBuy(sku)
//过期修改库存为0
if sku.IsExpire == 1 {
sku.Stock = 0
}
////过期修改库存为0
//if sku.IsExpire == 1 {
// sku.Stock = 0
//}
//用spuInfo补全信息
sku = ls.CombineSup(sku, spu)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment