Commit 0b345275 by 杨树贤

修复

parent dec08ef8
Showing with 1 additions and 1 deletions
......@@ -267,7 +267,7 @@ func (ls *LyService) GetStock(sku model.LySku) (stock int64) {
stockStr, _ := redis.String(redisCon.Do("HGET", "sku_lock_stock", sku.GoodsId))
stock, _ = strconv.ParseInt(stockStr, 10, 64)
}
return
return sku.Stock
}
// 合并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