...
|
...
|
@@ -54,12 +54,12 @@ public class FavoriteActivityServiceImpl implements IFavoriteActivityService { |
|
|
ProductBo productBo = this.queryProductBasicInfo(favoriteAddReq.getProductSkn());
|
|
|
if (productBo == null || productBo.getId() < 1) {
|
|
|
logger.warn("addBrandActPrize error req is {}", favoriteAddReq);
|
|
|
return new ApiResponse(403, "商品不存在");
|
|
|
return new ApiResponse(402, "商品不存在");
|
|
|
}
|
|
|
apiRespons= isFavoriteApiResponse(favoriteAddReq, productBo);
|
|
|
if(apiRespons!=null&&(boolean)apiRespons.getData()){
|
|
|
logger.warn("addBrandActPrize result is {}", apiRespons);
|
|
|
return new ApiResponse(403, "商品已收藏");
|
|
|
return new ApiResponse(401, "商品已收藏");
|
|
|
}
|
|
|
return addFavoriteApiResponse(favoriteAddReq, productBo);
|
|
|
}
|
...
|
...
|
|