zhaoxian 2 年之前
父節點
當前提交
23a3cf0313

+ 2 - 1
ruixuan-live/src/main/java/com/ruixuan/report/controller/KuaishouLiveAccountReportController.java

@@ -82,8 +82,9 @@ public class KuaishouLiveAccountReportController extends BaseController {
     @GetMapping("/getOperateCostTrendChartList")
     public Result getOperateCostTrendChartList(@ApiParam("userId") @RequestParam(value = "userId", required = true) Long userId,
                                                @ApiParam("startDate") @RequestParam(value = "startDate", required = true) String startDate,
+                                               @ApiParam("type 1-查自己") @RequestParam(value = "type", required = true) String type,
                                                @ApiParam("endDate") @RequestParam(value = "endDate", required = true) String endDate) {
-        JSONObject result = KuaishouLiveAccountReportService.getOperateCostTrendChartList(userId, startDate, endDate);
+        JSONObject result = KuaishouLiveAccountReportService.getOperateCostTrendChartList(userId, type, startDate, endDate);
         return Result.success(result);
 
     }

+ 1 - 1
ruixuan-live/src/main/java/com/ruixuan/report/service/IKuaishouLiveAccountReportService.java

@@ -22,7 +22,7 @@ public interface IKuaishouLiveAccountReportService {
 
     List<JSONObject> getOperateCostList(Long userId, String startDate, String endDate);
 
-    JSONObject getOperateCostTrendChartList(Long userId, String startDate, String endDate);
+    JSONObject getOperateCostTrendChartList(Long userId,String type, String startDate, String endDate);
 
     JSONObject getStatisticalReportHead(JSONObject request);