Showing
1 changed file
with
2 additions
and
2 deletions
@@ -361,9 +361,9 @@ public class BuyerOrderController { | @@ -361,9 +361,9 @@ public class BuyerOrderController { | ||
361 | 361 | ||
362 | @RequestMapping(params = "method=ufo.buyer.orderListNums") | 362 | @RequestMapping(params = "method=ufo.buyer.orderListNums") |
363 | @ResponseBody | 363 | @ResponseBody |
364 | - public BuyerOrderNums getBuyerOrderNums(@RequestParam("uid") int uid){ | 364 | + public ApiResponse getBuyerOrderNums(@RequestParam("uid") int uid){ |
365 | LOG.info("in ufo.buyer.orderListNums uid {}", uid); | 365 | LOG.info("in ufo.buyer.orderListNums uid {}", uid); |
366 | BuyerOrderNums buyerOrderNums = buyerOrderService.getBuyerOrderNums(uid); | 366 | BuyerOrderNums buyerOrderNums = buyerOrderService.getBuyerOrderNums(uid); |
367 | - return buyerOrderNums; | 367 | + return new ApiResponse.ApiResponseBuilder().code(200).data(buyerOrderNums).message("get orderListNums success").build(); |
368 | } | 368 | } |
369 | } | 369 | } |
-
Please register or login to post a comment