mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 01:01:52 +08:00
refactor: 会员商品收藏
This commit is contained in:
parent
92be763c6f
commit
5a5a42463b
@ -34,6 +34,7 @@ public class ProductFavoriteServiceImpl implements ProductFavoriteService {
|
||||
if (favorite != null) {
|
||||
throw exception(FAVORITE_EXISTS);
|
||||
}
|
||||
|
||||
ProductFavoriteDO entity = ProductFavoriteConvert.INSTANCE.convert(userId, spuId);
|
||||
productFavoriteMapper.insert(entity);
|
||||
return entity.getId();
|
||||
|
Loading…
Reference in New Issue
Block a user