Commit 7a164ecdffe3a7db01b612538c2ab3b3b51fb498
1 parent
72db9341
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 | 69 | |
| 70 | 70 | @GetMapping("/list") |
| 71 | 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 | 73 | @PreAuthorize("@ss.hasPermission('product:spu:query')") |
| 74 | 74 | public CommonResult<List<SpuRespVO>> getSpuList(@RequestParam("ids") Collection<Long> ids) { |
| 75 | 75 | List<ProductSpuDO> list = spuService.getSpuList(ids); | ... | ... |