@GetMapping("/list")
@Cacheable(cacheNames = "product", key = "#sellerId", condition = "#sellerId.length() < 3", unless = "#result.getCode() != 0")
public ResultVO list(@RequestParam("sellerId")String sellerId) {
//查询所有上架商品
List
productInfoList = productInfoList = productInfoService.findUpAll();
//查询所有种类
List categoryTypeList = productInfoList.stream()
.map(e -> e.getCategoryType())
.collect(Collectors.toList());
List productCategoryList = productCategoryService.findByCategoryTypeIn(categoryTypeList);