| | |
| | | |
| | | import cc.mrbird.febs.common.entity.FebsResponse; |
| | | import cc.mrbird.febs.mall.dto.AddOrderDto; |
| | | import cc.mrbird.febs.mall.dto.OrderListDto; |
| | | import cc.mrbird.febs.mall.dto.PayOrderDto; |
| | | import cc.mrbird.febs.mall.service.IApiMallOrderInfoService; |
| | | import io.swagger.annotations.Api; |
| | |
| | | return new FebsResponse().success().data(map).message("支付成功"); |
| | | } |
| | | |
| | | @ApiOperation(value = "订单列表", notes = "订单列表") |
| | | @PostMapping(value = "/orderList") |
| | | public FebsResponse orderList(@RequestBody OrderListDto orderListDto) { |
| | | return new FebsResponse().success().data(mallOrderInfoService.findOrderList(orderListDto)); |
| | | } |
| | | |
| | | @ApiOperation(value = "订单详情", notes = "订单详情") |
| | | @GetMapping(value = "/orderDetails/{id}") |
| | | public FebsResponse orderDetails(@PathVariable("id") Long id) { |
| | | return new FebsResponse().success().data(mallOrderInfoService.findOrderDetailsById(id)); |
| | | } |
| | | |
| | | } |