@RequestParam方式传入list

    @GetMapping("/getCollectByShop")
    public void getCollectByShop(@RequestParam("goodsDbidList") List<String> goodsDbidList) throws IOException {
        List<GoodsInfoVO> goodsInfoVOList = iProjectPlanPurchaseService.getCollectByShop(goodsDbidList);
        ResponseUtil.showMessage("success", "成功", goodsInfoVOList);
    }

原文地址:https://www.cnblogs.com/gslgb/p/13855425.html