!243 打开系统接口,控制台报错

Merge pull request !243 from zy_2021/mall_fix
This commit is contained in:
芋道源码 2022-08-01 11:54:27 +00:00 committed by Gitee
commit dcea527b91
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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);