jiequan.bi 4 rokov pred
rodič
commit
2a888ad810

+ 0 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/message/job/SendMsgJob.java

@@ -37,7 +37,6 @@ public class SendMsgJob implements Job {
 		queryWrapper.eq("es_send_status", SendMsgStatusEnum.WAIT.getCode())
 		queryWrapper.eq("es_send_status", SendMsgStatusEnum.WAIT.getCode())
 				.or(i -> i.eq("es_send_status", SendMsgStatusEnum.FAIL.getCode()).lt("es_send_num", 6));
 				.or(i -> i.eq("es_send_status", SendMsgStatusEnum.FAIL.getCode()).lt("es_send_num", 6));
 		List<SysMessage> sysMessages = sysMessageService.list(queryWrapper);
 		List<SysMessage> sysMessages = sysMessageService.list(queryWrapper);
-		System.out.println(sysMessages);
 		// 2.根据不同的类型走不通的发送实现类
 		// 2.根据不同的类型走不通的发送实现类
 		for (SysMessage sysMessage : sysMessages) {
 		for (SysMessage sysMessage : sysMessages) {
 			ISendMsgHandle sendMsgHandle = null;
 			ISendMsgHandle sendMsgHandle = null;

+ 0 - 3
jeecg-boot-module-system/src/main/java/org/jeecg/modules/opencv/utils/ExtractionVideoKeyFrames.java

@@ -51,9 +51,7 @@ public class ExtractionVideoKeyFrames {
 
 
     int ExtractKeyframes(String videoPath, double rate, String outImgPath){
     int ExtractKeyframes(String videoPath, double rate, String outImgPath){
         VideoCapture cap = new VideoCapture();
         VideoCapture cap = new VideoCapture();
-        System.out.println(cap.isOpened());
         if (!cap.open(videoPath)) {
         if (!cap.open(videoPath)) {
-            System.out.println("Open video file error!");
             return -1;
             return -1;
         }
         }
 
 
@@ -66,7 +64,6 @@ public class ExtractionVideoKeyFrames {
         int height = (int)cap.get(Videoio.CAP_PROP_FRAME_HEIGHT);
         int height = (int)cap.get(Videoio.CAP_PROP_FRAME_HEIGHT);
         float fps = (float)cap.get(Videoio.CAP_PROP_FPS);
         float fps = (float)cap.get(Videoio.CAP_PROP_FPS);
         int nframes = (int)cap.get(Videoio.CAP_PROP_FRAME_COUNT);
         int nframes = (int)cap.get(Videoio.CAP_PROP_FRAME_COUNT);
-        System.out.println("W:"+width+";H:"+height+";FPS:"+fps+";N:"+nframes);
 
 
         int nscale = 1;
         int nscale = 1;
         if (width%4==0 && height%4==0){
         if (width%4==0 && height%4==0){

+ 0 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/opencv/utils/VideoProcessing.java

@@ -36,7 +36,6 @@ public class VideoProcessing {
 
 
             //获取视频总帧数
             //获取视频总帧数
             int ftp = fFmpegFrameGrabber.getLengthInFrames();
             int ftp = fFmpegFrameGrabber.getLengthInFrames();
-            System.out.println("时长 " + ftp / fFmpegFrameGrabber.getFrameRate() / 60);
             LoadFileUtil.checkFile(filePackageName);
             LoadFileUtil.checkFile(filePackageName);
             while (flag <= ftp) {
             while (flag <= ftp) {
                 frame = fFmpegFrameGrabber.grabImage();
                 frame = fFmpegFrameGrabber.grabImage();

+ 0 - 2
jeecg-boot-module-system/src/main/java/org/jeecg/modules/wps/util/upload/oss/WpsOSSUtil.java

@@ -136,7 +136,6 @@ public class WpsOSSUtil {
             client.shutdown();
             client.shutdown();
         } catch (Exception e) {
         } catch (Exception e) {
             e.printStackTrace();
             e.printStackTrace();
-            System.out.println("上传阿里云OSS服务器异常:"+e.getMessage());
         }
         }
         return resultStr;
         return resultStr;
     }
     }
@@ -157,7 +156,6 @@ public class WpsOSSUtil {
             // 指定上传的内容类型。内容类型决定浏览器将以什么形式、什么编码读取文件。如果没有指定则根据文件的扩展名生成,如果没有扩展名则为默认值application/octet-stream。
             // 指定上传的内容类型。内容类型决定浏览器将以什么形式、什么编码读取文件。如果没有指定则根据文件的扩展名生成,如果没有扩展名则为默认值application/octet-stream。
             meta.setContentType(getContentType(fileName));
             meta.setContentType(getContentType(fileName));
             // 设置内容被下载时的名称。
             // 设置内容被下载时的名称。
-            System.out.println("downNmme"+downName);
             meta.setContentDisposition("filename="+downName);
             meta.setContentDisposition("filename="+downName);
             // 设置内容被下载时网页的缓存行为。
             // 设置内容被下载时网页的缓存行为。
             meta.setCacheControl("no-cache");
             meta.setCacheControl("no-cache");

+ 1 - 1
module-check/src/main/java/cn/com/ctop/check/script/TestGroovyScript.java

@@ -24,7 +24,7 @@ public class TestGroovyScript {
 
 
     @GetMapping("/test")
     @GetMapping("/test")
     public Result testGroovy(){
     public Result testGroovy(){
-         groovyScriptExecutor.execute(1,"CheckTokenExecuteStateScript");
+         groovyScriptExecutor.execute(2,"CheckAccountStatusScript");
         return Result.ok();
         return Result.ok();
     }
     }
 }
 }

+ 1 - 3
module-check/src/main/java/cn/com/ctop/notice/handler/SendWeChatHandle.java

@@ -33,8 +33,6 @@ public class SendWeChatHandle {
      */
      */
     public void sendWeChatByMails(String mails,String message){
     public void sendWeChatByMails(String mails,String message){
         List<String> mail= Arrays.asList(mails.split(","));
         List<String> mail= Arrays.asList(mails.split(","));
-        mail.forEach(m->{
-            this.sendWeChatByMail(m,message);
-        });
+        mail.forEach(m-> this.sendWeChatByMail(m,message));
     }
     }
 }
 }

+ 0 - 8
module-common/src/main/java/cn/com/ctop/common/module/utils/HttpUtils.java

@@ -423,10 +423,7 @@ public class HttpUtils {
         String photoId = path.substring(path.lastIndexOf("/")+1,path.length());
         String photoId = path.substring(path.lastIndexOf("/")+1,path.length());
         path =path.substring(0,path.lastIndexOf("/"));
         path =path.substring(0,path.lastIndexOf("/"));
         String uid = path.substring(path.lastIndexOf("/")+1,path.length());
         String uid = path.substring(path.lastIndexOf("/")+1,path.length());
-        System.out.println(uid);
-        System.out.println(photoId);
         res = HttpUtils.postKuaishouVideoUrl("https://live.kuaishou.com/m_graphql",uid,photoId);
         res = HttpUtils.postKuaishouVideoUrl("https://live.kuaishou.com/m_graphql",uid,photoId);
-        System.out.println(res);
     }
     }
 
 
     public static String postKuaishouVideoUrl(String url,String uid,String photoId){
     public static String postKuaishouVideoUrl(String url,String uid,String photoId){
@@ -472,10 +469,8 @@ public class HttpUtils {
             httpGet.setHeader("Accept-Language", "zh-CN,zh;q=0.9");
             httpGet.setHeader("Accept-Language", "zh-CN,zh;q=0.9");
             response = httpClient.execute(httpGet);
             response = httpClient.execute(httpGet);
             int statusCode = response.getStatusLine().getStatusCode();
             int statusCode = response.getStatusLine().getStatusCode();
-            System.out.println(statusCode);
             if (statusCode == HttpStatus.SC_MOVED_PERMANENTLY || statusCode == HttpStatus.SC_MOVED_TEMPORARILY) {
             if (statusCode == HttpStatus.SC_MOVED_PERMANENTLY || statusCode == HttpStatus.SC_MOVED_TEMPORARILY) {
                 String newUrl = response.getFirstHeader("Location").getValue();
                 String newUrl = response.getFirstHeader("Location").getValue();
-                System.out.println(newUrl);
                 return newUrl;
                 return newUrl;
             }
             }
 
 
@@ -494,10 +489,8 @@ public class HttpUtils {
             httpGet.setHeader("User-Agent", USER_AGENT);
             httpGet.setHeader("User-Agent", USER_AGENT);
             response = httpClient.execute(httpGet);
             response = httpClient.execute(httpGet);
             int statusCode = response.getStatusLine().getStatusCode();
             int statusCode = response.getStatusLine().getStatusCode();
-            System.out.println(statusCode);
             if (statusCode == HttpStatus.SC_MOVED_PERMANENTLY || statusCode == HttpStatus.SC_MOVED_TEMPORARILY) {
             if (statusCode == HttpStatus.SC_MOVED_PERMANENTLY || statusCode == HttpStatus.SC_MOVED_TEMPORARILY) {
                 String newUrl = response.getFirstHeader("Location").getValue();
                 String newUrl = response.getFirstHeader("Location").getValue();
-                System.out.println(newUrl);
                 return httpGetRequest(newUrl);
                 return httpGetRequest(newUrl);
             } else if (statusCode == HttpStatus.SC_OK) {
             } else if (statusCode == HttpStatus.SC_OK) {
                 BufferedReader reader = new BufferedReader(new InputStreamReader(response.getEntity().getContent()));
                 BufferedReader reader = new BufferedReader(new InputStreamReader(response.getEntity().getContent()));
@@ -913,7 +906,6 @@ public class HttpUtils {
     }
     }
 
 
     public static JSONObject feishuGetRequest(String accessToken, String url, JSONObject params) {
     public static JSONObject feishuGetRequest(String accessToken, String url, JSONObject params) {
-        System.out.println(url);
         // 构造请求
         // 构造请求
         HttpEntityEnclosingRequestBase httpEntity = new HttpEntityEnclosingRequestBase() {
         HttpEntityEnclosingRequestBase httpEntity = new HttpEntityEnclosingRequestBase() {
             @Override
             @Override

+ 0 - 1
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/report/service/impl/KuaishouReportDailyAgentServiceImpl.java

@@ -191,7 +191,6 @@ public class KuaishouReportDailyAgentServiceImpl extends ServiceImpl<KuaishouRep
                 String listUrl = "https://agent.e.kuaishou.com/rest/dsp/agent/account/data/list";
                 String listUrl = "https://agent.e.kuaishou.com/rest/dsp/agent/account/data/list";
                 String postData = "{\"agentId\":403756224,\"startDate\":\"" + currentDate + "\",\"endDate\":\"" + currentDate + "\",\"isAscending\":false,\"pageInfo\":{\"pageSize\":19,\"currentPage\":1,\"totalCount\":999999}}";
                 String postData = "{\"agentId\":403756224,\"startDate\":\"" + currentDate + "\",\"endDate\":\"" + currentDate + "\",\"isAscending\":false,\"pageInfo\":{\"pageSize\":19,\"currentPage\":1,\"totalCount\":999999}}";
                 String result = HttpUtils2.httpPostRequestTest(listUrl, postData, headerMap);
                 String result = HttpUtils2.httpPostRequestTest(listUrl, postData, headerMap);
-                System.out.println(result);
                 ObjectMapper mapper = new ObjectMapper();
                 ObjectMapper mapper = new ObjectMapper();
                 JsonNode resultNode = mapper.readTree(result);
                 JsonNode resultNode = mapper.readTree(result);
                 Integer code = resultNode.get("result").intValue();
                 Integer code = resultNode.get("result").intValue();

+ 0 - 1
module-toutiao/src/main/java/cn/com/ctop/toutiao/modules/material/service/impl/ByteDanceCampaignServiceImpl.java

@@ -178,7 +178,6 @@ public class ByteDanceCampaignServiceImpl extends ServiceImpl<ByteDanceCampaignM
         params.put("page", pageNumber + "");
         params.put("page", pageNumber + "");
         params.put("page_size", 100);
         params.put("page_size", 100);
         String result = HttpUtils.httpGetRequest(url, headers, params);
         String result = HttpUtils.httpGetRequest(url, headers, params);
-        System.out.println(result);
         JSONObject jsonObject = JSONObject.parseObject(result);
         JSONObject jsonObject = JSONObject.parseObject(result);
         Integer code = jsonObject.getInteger("code");
         Integer code = jsonObject.getInteger("code");
         if (null == code || !code.equals(0)) {
         if (null == code || !code.equals(0)) {

+ 0 - 1
module-toutiao/src/main/java/cn/com/ctop/toutiao/modules/material/service/impl/ByteDanceCreativeServiceImpl.java

@@ -227,7 +227,6 @@ public class ByteDanceCreativeServiceImpl extends ServiceImpl<ByteDanceCreativeM
         data.put("advertiser_id", token.getAccountId());
         data.put("advertiser_id", token.getAccountId());
         data.put("ad_id",planId);
         data.put("ad_id",planId);
         JSONObject result = HttpUtils.bytedanceGetRequest(token.getAccessToken(),url,data);
         JSONObject result = HttpUtils.bytedanceGetRequest(token.getAccessToken(),url,data);
-        System.out.println(result);
         Integer code = result.getInteger("code");
         Integer code = result.getInteger("code");
         String message = result.getString("message");
         String message = result.getString("message");
         if (null ==  code) {
         if (null ==  code) {

+ 0 - 2
module-toutiao/src/main/java/cn/com/ctop/toutiao/modules/report/controller/ByteDanceVideoReportDailyController.java

@@ -90,7 +90,6 @@ public class ByteDanceVideoReportDailyController {
 		for(int i=0; i<=days; i++){
 		for(int i=0; i<=days; i++){
 			String endStr = DateUtils.addDay(startDate ,i);
 			String endStr = DateUtils.addDay(startDate ,i);
 			dateList.add(endStr);
 			dateList.add(endStr);
-			System.out.println(endStr);
 		}
 		}
 
 
 		final ExecutorService executorService = Executors.newFixedThreadPool(8);
 		final ExecutorService executorService = Executors.newFixedThreadPool(8);
@@ -99,7 +98,6 @@ public class ByteDanceVideoReportDailyController {
 				@Override
 				@Override
 				public void run() {
 				public void run() {
 					try {
 					try {
-						System.out.println("头条视频按天汇总接口现在在跑的时间为:" + date + "~" + date);
 						videoReportDailyService.videoInfoListByAccountId(date, date,accountId);
 						videoReportDailyService.videoInfoListByAccountId(date, date,accountId);
 					} catch (Exception e) {
 					} catch (Exception e) {
 						e.printStackTrace();
 						e.printStackTrace();