@@ -431,8 +431,9 @@ public class RecommendService {
}
-
- param.setCategoryId(Integer.parseInt(request.getCategoryId()));
+ if (StringUtils.isNotBlank(request.getCategoryId())) {
+ param.setCategoryId(Integer.parseInt(request.getCategoryId()));
+ }
return param;