fix:打开系统接口,控制台报错

This commit is contained in:
zy 2022-08-01 14:54:21 +08:00
parent 72db9341f6
commit 7a164ecdff

View File

@ -69,7 +69,7 @@ public class ProductSpuController {
@GetMapping("/list") @GetMapping("/list")
@ApiOperation("获得商品spu列表") @ApiOperation("获得商品spu列表")
@ApiImplicitParam(name = "ids", value = "编号列表", required = true, example = "1024,2048", dataTypeClass = Long.class) @ApiImplicitParam(name = "ids", value = "编号列表", required = true, example = "1024,2048", dataTypeClass = List.class)
@PreAuthorize("@ss.hasPermission('product:spu:query')") @PreAuthorize("@ss.hasPermission('product:spu:query')")
public CommonResult<List<SpuRespVO>> getSpuList(@RequestParam("ids") Collection<Long> ids) { public CommonResult<List<SpuRespVO>> getSpuList(@RequestParam("ids") Collection<Long> ids) {
List<ProductSpuDO> list = spuService.getSpuList(ids); List<ProductSpuDO> list = spuService.getSpuList(ids);