add buyer order list num
Showing
1 changed file
with
8 additions
and
0 deletions
@@ -4,6 +4,7 @@ import com.yohobuy.ufo.model.order.common.OrderListType; | @@ -4,6 +4,7 @@ import com.yohobuy.ufo.model.order.common.OrderListType; | ||
4 | import com.yohobuy.ufo.model.order.common.SellerOrderListType; | 4 | import com.yohobuy.ufo.model.order.common.SellerOrderListType; |
5 | import com.yohobuy.ufo.model.order.common.TabType; | 5 | import com.yohobuy.ufo.model.order.common.TabType; |
6 | import com.yohobuy.ufo.model.order.req.BuyerOrderCancelReq; | 6 | import com.yohobuy.ufo.model.order.req.BuyerOrderCancelReq; |
7 | +import com.yohobuy.ufo.model.order.resp.BuyerOrderNums; | ||
7 | import com.yohobuy.ufo.model.order.resp.OrderCntResp; | 8 | import com.yohobuy.ufo.model.order.resp.OrderCntResp; |
8 | import com.yohobuy.ufo.model.order.resp.OrderListInfo; | 9 | import com.yohobuy.ufo.model.order.resp.OrderListInfo; |
9 | import com.yohobuy.ufo.model.order.resp.PageResp; | 10 | import com.yohobuy.ufo.model.order.resp.PageResp; |
@@ -358,4 +359,11 @@ public class BuyerOrderController { | @@ -358,4 +359,11 @@ public class BuyerOrderController { | ||
358 | return new ApiResponse.ApiResponseBuilder().code(200).data(orderCntResp).message("查询订单数量").build(); | 359 | return new ApiResponse.ApiResponseBuilder().code(200).data(orderCntResp).message("查询订单数量").build(); |
359 | } | 360 | } |
360 | 361 | ||
362 | + @RequestMapping(params = "method=ufo.buyer.orderListNums") | ||
363 | + @ResponseBody | ||
364 | + public BuyerOrderNums getBuyerOrderNums(@RequestParam("uid") int uid){ | ||
365 | + LOG.info("in ufo.buyer.orderListNums uid {}", uid); | ||
366 | + BuyerOrderNums buyerOrderNums = buyerOrderService.getBuyerOrderNums(uid); | ||
367 | + return buyerOrderNums; | ||
368 | + } | ||
361 | } | 369 | } |
-
Please register or login to post a comment