mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 09:11:52 +08:00
修复 Swagger 注解错误,导致文档 404 问题
Signed-off-by: 芋道源码 <zhijiantianya@gmail.com>
This commit is contained in:
parent
277cbce58f
commit
dbf237a1f3
@ -60,7 +60,7 @@ public class TradeCartController {
|
||||
|
||||
@DeleteMapping("/delete")
|
||||
@ApiOperation("删除购物车商品")
|
||||
@ApiImplicitParam(name = "skuId", value = "商品 SKU 编号的数组", required = true, example = "1024,2048", dataTypeClass = List.class)
|
||||
@ApiImplicitParam(name = "skuIds", value = "商品 SKU 编号的数组", required = true, example = "1024,2048", dataTypeClass = List.class)
|
||||
@PreAuthenticated
|
||||
public CommonResult<Boolean> deleteCartItem(@RequestParam("skuIds") List<Long> skuIds) {
|
||||
cartService.deleteCartItems(getLoginUserId(), skuIds);
|
||||
|
Loading…
Reference in New Issue
Block a user