Commit dbf237a1f312be187c2346c89d8814304b2d16ea
Committed by
Gitee
1 parent
277cbce5
修复 Swagger 注解错误,导致文档 404 问题
Signed-off-by: 芋道源码 <zhijiantianya@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/cart/TradeCartController.java
| ... | ... | @@ -60,7 +60,7 @@ public class TradeCartController { |
| 60 | 60 | |
| 61 | 61 | @DeleteMapping("/delete") |
| 62 | 62 | @ApiOperation("删除购物车商品") |
| 63 | - @ApiImplicitParam(name = "skuId", value = "商品 SKU 编号的数组", required = true, example = "1024,2048", dataTypeClass = List.class) | |
| 63 | + @ApiImplicitParam(name = "skuIds", value = "商品 SKU 编号的数组", required = true, example = "1024,2048", dataTypeClass = List.class) | |
| 64 | 64 | @PreAuthenticated |
| 65 | 65 | public CommonResult<Boolean> deleteCartItem(@RequestParam("skuIds") List<Long> skuIds) { |
| 66 | 66 | cartService.deleteCartItems(getLoginUserId(), skuIds); | ... | ... |