Browse Source

去除打印日志

yumeng 5 năm trước cách đây
mục cha
commit
e8df2411ec

+ 0 - 5
module-report/src/main/java/cn/com/ctop/bytedance/controller/BytedanceReportController.java

@@ -38,7 +38,6 @@ public class BytedanceReportController {
 
     @PostMapping("/kuaiShou/accountReport")
     public JSONObject getKuaiShouAccountReport(@RequestBody JSONObject requestJson) {
-        System.err.println(requestJson);
         JSONObject json = bytedanceReportService.getKuaiShouAccountReport(requestJson);
         return json;
 
@@ -47,8 +46,6 @@ public class BytedanceReportController {
 
     @PostMapping("/kuaiShou/accountDetailReport")
     public List<JSONObject> getKuaiShouAccountDetailReport(@RequestBody JSONObject requestJson) {
-        System.err.println(requestJson);
-
         List<JSONObject> kuaiShouAccounDetailtReport = bytedanceReportService.getKuaiShouAccounDetailtReport(requestJson);
         return kuaiShouAccounDetailtReport;
 
@@ -57,8 +54,6 @@ public class BytedanceReportController {
 
     @PostMapping("/kuaiShou/getReportList")
     public List<JSONObject> getReportList(@RequestBody JSONObject requestJson) {
-        System.err.println(requestJson);
-
         List<JSONObject> kuaiShouAccounDetailtReport = bytedanceReportService.getReportList(requestJson);
         return kuaiShouAccounDetailtReport;
 

+ 3 - 3
module-report/src/main/java/cn/com/ctop/bytedance/service/impl/BytedanceReportServiceImpl.java

@@ -228,7 +228,7 @@ public class BytedanceReportServiceImpl implements IBytedanceReportService {
                         }
 
                         Long photoClick = accountJson.getLong("photoClick");// 今日封面展示
-                        Long yesterdayPhotoClick = yesterdayJson.getLong("photoShow");// 昨日封面展示
+                        Long yesterdayPhotoClick = yesterdayJson.getLong("photoClick");// 昨日封面展示
                         if (yesterdayPhotoClick != 0L) {
                             double photoClickProportion = (photoClick.doubleValue() - yesterdayPhotoClick.doubleValue()) / yesterdayPhotoClick.doubleValue();
                             accountJson.put("photoClickProportion", photoClickProportion); // 较昨日增加比例
@@ -236,8 +236,8 @@ public class BytedanceReportServiceImpl implements IBytedanceReportService {
                             accountJson.put("photoClickProportion", 0); // 较昨日增加比例
                         }
 
-                        Long aClick = accountJson.getLong("aclick");// 今日封面展示
-                        Long yesterdayAClick = yesterdayJson.getLong("photoShow");// 昨日封面展示
+                        Long aClick = accountJson.getLong("aclick");
+                        Long yesterdayAClick = yesterdayJson.getLong("aclick");
                         if (yesterdayAClick != 0L) {
                             double aClickProportion = (aClick.doubleValue() - yesterdayAClick.doubleValue()) / yesterdayAClick.doubleValue();
                             accountJson.put("aClickProportion", aClickProportion); // 较昨日增加比例