Showing
1 changed file
with
0 additions
and
5 deletions
@@ -356,11 +356,6 @@ public class ProductSearchController { | @@ -356,11 +356,6 @@ public class ProductSearchController { | ||
356 | @IgnoreSession | 356 | @IgnoreSession |
357 | @Cachable(expire = 180) | 357 | @Cachable(expire = 180) |
358 | public ApiResponse searchProductRecommendBySeriesBrand(@RequestParam(value = "product_id") Integer productId) { | 358 | public ApiResponse searchProductRecommendBySeriesBrand(@RequestParam(value = "product_id") Integer productId) { |
359 | - | ||
360 | - if (null == productId) { | ||
361 | - LOG.info("in method=ufo.product.data.search.recommendBySeriesBrand product_id is null"); | ||
362 | - return new ApiResponse(400, "product_id Is Null", null); | ||
363 | - } | ||
364 | LOG.info("in method=ufo.product.data.search.recommendBySeriesBrand product_id={}", productId); | 359 | LOG.info("in method=ufo.product.data.search.recommendBySeriesBrand product_id={}", productId); |
365 | SearchProductRecommendResp resp = productSearchService.searchProductRecommendByIdAndSeriesBrand(productId); | 360 | SearchProductRecommendResp resp = productSearchService.searchProductRecommendByIdAndSeriesBrand(productId); |
366 | return new ApiResponse.ApiResponseBuilder().code(200).message("product.data.search.recommend").data(resp).build(); | 361 | return new ApiResponse.ApiResponseBuilder().code(200).message("product.data.search.recommend").data(resp).build(); |
-
Please register or login to post a comment