Commit dcea527b91bf24a2a52ce2cc6ab8a8f808e15965
Committed by
Gitee
!243 打开系统接口,控制台报错
Merge pull request !243 from zy_2021/mall_fix
Showing
1 changed file
with
1 additions
and
1 deletions
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/spu/ProductSpuController.java
| @@ -69,7 +69,7 @@ public class ProductSpuController { | @@ -69,7 +69,7 @@ public class ProductSpuController { | ||
| 69 | 69 | ||
| 70 | @GetMapping("/list") | 70 | @GetMapping("/list") |
| 71 | @ApiOperation("获得商品spu列表") | 71 | @ApiOperation("获得商品spu列表") |
| 72 | - @ApiImplicitParam(name = "ids", value = "编号列表", required = true, example = "1024,2048", dataTypeClass = Long.class) | 72 | + @ApiImplicitParam(name = "ids", value = "编号列表", required = true, example = "1024,2048", dataTypeClass = List.class) |
| 73 | @PreAuthorize("@ss.hasPermission('product:spu:query')") | 73 | @PreAuthorize("@ss.hasPermission('product:spu:query')") |
| 74 | public CommonResult<List<SpuRespVO>> getSpuList(@RequestParam("ids") Collection<Long> ids) { | 74 | public CommonResult<List<SpuRespVO>> getSpuList(@RequestParam("ids") Collection<Long> ids) { |
| 75 | List<ProductSpuDO> list = spuService.getSpuList(ids); | 75 | List<ProductSpuDO> list = spuService.getSpuList(ids); |