处理商品收藏

This commit is contained in:
LIONCITYS\lioncity
2020-11-27 16:59:09 +08:00
parent adf74cdc3b
commit d0c551c430

View File

@ -101,7 +101,7 @@ public class YxStoreProductRelationServiceImpl extends BaseServiceImpl<YxStorePr
YxStoreProductRelation productRelation = this.lambdaQuery()
.eq(YxStoreProductRelation::getProductId,productId)
.eq(YxStoreProductRelation::getUid,uid)
.eq(YxStoreProductRelation::getType,category)
.eq(YxStoreProductRelation::getType,"collect")
.one();
if(productRelation == null) {
throw new YshopException("已取消");