yshop1.9.3,修复购物车等问题

This commit is contained in:
hupeng
2020-02-02 21:59:36 +08:00
parent daedd43e43
commit 533209cf74
2 changed files with 2 additions and 1 deletions

View File

@ -195,6 +195,7 @@ public class YxStoreCartServiceImpl extends BaseServiceImpl<YxStoreCartMapper, Y
new QueryWrapper<YxStoreCart>()
.lambda().eq(YxStoreCart::getId,storeCart.getId()));
}else if(storeProduct.getIsShow() == 0 || storeProduct.getIsDel() == 1 || storeProduct.getStock() == 0){
storeCartQueryVo.setProductInfo(storeProduct);
invalid.add(storeCartQueryVo);
}else{
if(StrUtil.isNotEmpty(storeCart.getProductAttrUnique())){

View File

@ -47,7 +47,7 @@ spring:
database: 0
host: 127.0.0.1
port: 6379
password:
password:
#连接超时时间
timeout: 5000