Commit 6284fcb0 by 杨树贤

fix

parent f3673076
Showing with 3 additions and 0 deletions
......@@ -255,6 +255,9 @@ func (ls *LyService) LyGoodsDetail(ctx *gin.Context, goodsIds []string, ch chan
//判断是否可以购买
sku.IsBuy = ls.GetIsBuy(sku)
if sku.IsBuy ==0 && sku.OrgId != 1 {
sku.AcType = 0;
}
sku.Stock = ls.GetStock(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