Browse Source

add 福袋活动统计

周箭河 5 years ago
parent
commit
e1279104a7

+ 2 - 2
mec-student/src/main/java/com/ym/mec/student/controller/StudentOrderController.java

@@ -295,7 +295,7 @@ public class StudentOrderController extends BaseController {
     }
 
     @GetMapping("/getLuckStatis")
-    public LuckStatisDto getLuckStatis(){
+    public HttpResponseResult getLuckStatis(){
         List<OrderStatisDto> orders = studentPaymentOrderDao.getLuckStatis();
         BigDecimal totalMoney = BigDecimal.ZERO;
         Integer totalNum = 0;
@@ -307,6 +307,6 @@ public class StudentOrderController extends BaseController {
         luckStatisDto.setOrderStatisDtoList(orders);
         luckStatisDto.setTotalNum(totalNum);
         luckStatisDto.setTotalMoney(totalMoney);
-        return  luckStatisDto;
+        return  succeed(luckStatisDto);
     }
 }