Revert "处理商品收藏"

This reverts commit d0c551c430ee1f12614553ced49557b8de3e029f.
This commit is contained in:
LIONCITYS\lioncity
2020-11-27 17:01:01 +08:00
parent d0c551c430
commit 501e537327

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,"collect")
.eq(YxStoreProductRelation::getType,category)
.one();
if(productRelation == null) {
throw new YshopException("已取消");