| | |
| | | import com.xzx.gc.model.JsonResult; |
| | | import com.xzx.gc.shop.dto.AddGoodsOrderDto; |
| | | import com.xzx.gc.shop.dto.XcxOrderListDto; |
| | | import com.xzx.gc.shop.service.JhyService; |
| | | import com.xzx.gc.shop.service.OrderService; |
| | | import com.xzx.gc.shop.vo.StatisticsVo; |
| | | import com.xzx.gc.shop.vo.XcxOrderDetailsVo; |
| | |
| | | |
| | | @Autowired |
| | | private OrderService orderService; |
| | | |
| | | @Autowired |
| | | private JhyService jhyService; |
| | | |
| | | @ApiOperation("积分商城下单") |
| | | @PostMapping(value = "/goods/order/add") |
| | |
| | | @ApiOperation("首页统计") |
| | | @GetMapping(value = "/order/statistics") |
| | | public JsonResult<StatisticsVo> orderStatistics(HttpServletRequest request) { |
| | | return JsonResult.success(orderService.orderStatistics(getUserId(request))); |
| | | return JsonResult.success(jhyService.orderStatistics(getUserId(request))); |
| | | } |
| | | } |