...
|
...
|
@@ -356,11 +356,6 @@ public class ProductSearchController { |
|
|
@IgnoreSession
|
|
|
@Cachable(expire = 180)
|
|
|
public ApiResponse searchProductRecommendBySeriesBrand(@RequestParam(value = "product_id") Integer productId) {
|
|
|
|
|
|
if (null == productId) {
|
|
|
LOG.info("in method=ufo.product.data.search.recommendBySeriesBrand product_id is null");
|
|
|
return new ApiResponse(400, "product_id Is Null", null);
|
|
|
}
|
|
|
LOG.info("in method=ufo.product.data.search.recommendBySeriesBrand product_id={}", productId);
|
|
|
SearchProductRecommendResp resp = productSearchService.searchProductRecommendByIdAndSeriesBrand(productId);
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).message("product.data.search.recommend").data(resp).build();
|
...
|
...
|
|