mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-23 05:00:25 +08:00
Merge branch 'master' of gitee.com:youlaitech/youlai-mall
This commit is contained in:
commit
3c26599bbc
@ -87,6 +87,7 @@ public class CartServiceImpl implements ICartService {
|
||||
SkuInfoDTO skuInfo = skuFeignService.getSkuInfo(skuId).getData();
|
||||
if (skuInfo != null) {
|
||||
BeanUtil.copyProperties(skuInfo,cartItem);
|
||||
cartItem.setStock(skuInfo.getStockNum());
|
||||
cartItem.setCount(1);
|
||||
cartItem.setChecked(true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user