mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-23 15:35:06 +08:00
refactor: 会员商品收藏
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user