| | |
| | | |
| | | |
| | | @ResponseBody |
| | | @GetMapping("/getMyShoppingCart/{type}/{shopId}") |
| | | @GetMapping("/getMyShoppingCart") |
| | | @ApiOperation(value = "获取购物车列表", tags = {"商城-购物车-小程序"}) |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "type", value = "商品类型(1=服务商品,2=单品商品)", required = true, dataType = "int"), |
| | | @ApiImplicitParam(name = "shopId", value = "核销门店id", required = true, dataType = "int") |
| | | }) |
| | | public TableDataInfo<MyShoppingCartVo> getMyShoppingCart(@PathVariable("type") Integer type, @PathVariable("shopId") Integer shopId){ |
| | | public TableDataInfo<MyShoppingCartVo> getMyShoppingCart(Integer type, Integer shopId){ |
| | | startPage(); |
| | | return getDataTable(shoppingCartService.getMyShoppingCart(type, shopId)); |
| | | } |