Authored by chenchao

change datatype

... ... @@ -361,9 +361,9 @@ public class BuyerOrderController {
@RequestMapping(params = "method=ufo.buyer.orderListNums")
@ResponseBody
public BuyerOrderNums getBuyerOrderNums(@RequestParam("uid") int uid){
public ApiResponse getBuyerOrderNums(@RequestParam("uid") int uid){
LOG.info("in ufo.buyer.orderListNums uid {}", uid);
BuyerOrderNums buyerOrderNums = buyerOrderService.getBuyerOrderNums(uid);
return buyerOrderNums;
return new ApiResponse.ApiResponseBuilder().code(200).data(buyerOrderNums).message("get orderListNums success").build();
}
}
... ...