"eladmin-logging/vscode:/vscode.git/clone" did not exist on "d5d48015789b80e0c3358e1df0ef64cba4d8827f"
Commit cefdc24d authored by macro's avatar macro
Browse files

Update OmsCartItemController.java

parent 8a1c24bc
...@@ -54,7 +54,7 @@ public class OmsCartItemController { ...@@ -54,7 +54,7 @@ public class OmsCartItemController {
return CommonResult.success(cartPromotionItemList); return CommonResult.success(cartPromotionItemList);
} }
@ApiOperation("修改购物车中某个商品的数量") @ApiOperation("修改购物车中指定商品的数量")
@RequestMapping(value = "/update/quantity", method = RequestMethod.GET) @RequestMapping(value = "/update/quantity", method = RequestMethod.GET)
@ResponseBody @ResponseBody
public CommonResult updateQuantity(@RequestParam Long id, public CommonResult updateQuantity(@RequestParam Long id,
...@@ -66,7 +66,7 @@ public class OmsCartItemController { ...@@ -66,7 +66,7 @@ public class OmsCartItemController {
return CommonResult.failed(); return CommonResult.failed();
} }
@ApiOperation("获取购物车中某个商品的规格,用于重选规格") @ApiOperation("获取购物车中指定商品的规格,用于重选规格")
@RequestMapping(value = "/getProduct/{productId}", method = RequestMethod.GET) @RequestMapping(value = "/getProduct/{productId}", method = RequestMethod.GET)
@ResponseBody @ResponseBody
public CommonResult<CartProduct> getCartProduct(@PathVariable Long productId) { public CommonResult<CartProduct> getCartProduct(@PathVariable Long productId) {
...@@ -85,7 +85,7 @@ public class OmsCartItemController { ...@@ -85,7 +85,7 @@ public class OmsCartItemController {
return CommonResult.failed(); return CommonResult.failed();
} }
@ApiOperation("删除购物车中的某个商品") @ApiOperation("删除购物车中的指定商品")
@RequestMapping(value = "/delete", method = RequestMethod.POST) @RequestMapping(value = "/delete", method = RequestMethod.POST)
@ResponseBody @ResponseBody
public CommonResult delete(@RequestParam("ids") List<Long> ids) { public CommonResult delete(@RequestParam("ids") List<Long> ids) {
...@@ -96,7 +96,7 @@ public class OmsCartItemController { ...@@ -96,7 +96,7 @@ public class OmsCartItemController {
return CommonResult.failed(); return CommonResult.failed();
} }
@ApiOperation("清空购物车") @ApiOperation("清空当前用户的购物车")
@RequestMapping(value = "/clear", method = RequestMethod.POST) @RequestMapping(value = "/clear", method = RequestMethod.POST)
@ResponseBody @ResponseBody
public CommonResult clear() { public CommonResult clear() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment