| | |
| | | import com.xzx.gc.shop.dto.AddGoodsOrderDto; |
| | | import com.xzx.gc.shop.dto.XcxOrderListDto; |
| | | import com.xzx.gc.shop.service.OrderService; |
| | | import com.xzx.gc.shop.vo.StatisticsVo; |
| | | import com.xzx.gc.shop.vo.XcxOrderDetailsVo; |
| | | import com.xzx.gc.shop.vo.XcxOrderListVo; |
| | | import io.swagger.annotations.Api; |
| | |
| | | import io.swagger.annotations.ApiResponses; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | |
| | |
| | | } |
| | | |
| | | |
| | | @ApiOperation("首页统计") |
| | | @GetMapping(value = "/order/statistics") |
| | | public JsonResult<StatisticsVo> orderStatistics(HttpServletRequest request) { |
| | | return JsonResult.success(orderService.orderStatistics(getUserId(request))); |
| | | } |
| | | } |