Update OmsCartItemController.java
This commit is contained in:
@@ -38,7 +38,7 @@ public class OmsCartItemController {
|
|||||||
return CommonResult.failed();
|
return CommonResult.failed();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ApiOperation("获取某个会员的购物车列表")
|
@ApiOperation("获取当前会员的购物车列表")
|
||||||
@RequestMapping(value = "/list", method = RequestMethod.GET)
|
@RequestMapping(value = "/list", method = RequestMethod.GET)
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public CommonResult<List<OmsCartItem>> list() {
|
public CommonResult<List<OmsCartItem>> list() {
|
||||||
@@ -46,7 +46,7 @@ public class OmsCartItemController {
|
|||||||
return CommonResult.success(cartItemList);
|
return CommonResult.success(cartItemList);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ApiOperation("获取某个会员的购物车列表,包括促销信息")
|
@ApiOperation("获取当前会员的购物车列表,包括促销信息")
|
||||||
@RequestMapping(value = "/list/promotion", method = RequestMethod.GET)
|
@RequestMapping(value = "/list/promotion", method = RequestMethod.GET)
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public CommonResult<List<CartPromotionItem>> listPromotion(@RequestParam(required = false) List<Long> cartIds) {
|
public CommonResult<List<CartPromotionItem>> listPromotion(@RequestParam(required = false) List<Long> cartIds) {
|
||||||
|
|||||||
Reference in New Issue
Block a user