Commit af40d433 by mushishixian

恢复ti的购买

parent 7ed13e6f
Showing with 3 additions and 3 deletions
...@@ -161,9 +161,9 @@ func (ls *LyService) LyGoodsDetail(ctx *gin.Context, goodsIds []string, ch chan ...@@ -161,9 +161,9 @@ func (ls *LyService) LyGoodsDetail(ctx *gin.Context, goodsIds []string, ch chan
} }
//这边有个临时逻辑,如果供应商id是TI的,就库存为0 //这边有个临时逻辑,如果供应商id是TI的,就库存为0
if sku.SupplierId == 1679 { // if sku.SupplierId == 1679 {
sku.Stock = 0 // sku.Stock = 0
} // }
//判断是否可以购买 //判断是否可以购买
sku.IsBuy = ls.GetIsBuy(sku) sku.IsBuy = ls.GetIsBuy(sku)
......
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