diff --git a/jyjz-system/jyjz-system-oa/src/main/java/cn/jyjz/xiaoyao/ocr/thread/TaskRunner.java b/jyjz-system/jyjz-system-oa/src/main/java/cn/jyjz/xiaoyao/ocr/thread/TaskRunner.java index b5bd8fda..870b414b 100644 --- a/jyjz-system/jyjz-system-oa/src/main/java/cn/jyjz/xiaoyao/ocr/thread/TaskRunner.java +++ b/jyjz-system/jyjz-system-oa/src/main/java/cn/jyjz/xiaoyao/ocr/thread/TaskRunner.java @@ -22,7 +22,7 @@ public class TaskRunner implements CommandLineRunner { TaskThreadPool taskThreadPool = new TaskThreadPool(); taskThreadPool.startPictureDisposePull(); taskThreadPool.startPictureImgToLocalPull(); - ImageDownloadMonitoring imageDownloadMonitoring = new ImageDownloadMonitoring(); - imageDownloadMonitoring.startImageDownloadMonitoring(localImagePath); +// ImageDownloadMonitoring imageDownloadMonitoring = new ImageDownloadMonitoring(); +// imageDownloadMonitoring.startImageDownloadMonitoring(localImagePath); } } diff --git a/runstart/src/main/resources/application-pro.yml b/runstart/src/main/resources/application-pro.yml index b14dcc68..0766abfc 100644 --- a/runstart/src/main/resources/application-pro.yml +++ b/runstart/src/main/resources/application-pro.yml @@ -286,6 +286,7 @@ ocr: connectTimeout: 5000 #请求超时时间 毫秒 readTimeout: 60000 #接收超时时间 毫秒 localImagePath: /server/data/images #图片本地存储地址 + data-url: https://b-test.prevailcloud.com/pangu/jingwei/thirdclient/command/pb/approval/result image: similarityPath: http://127.0.0.1:8000/api/similarity/ classifyPath: http://127.0.0.1:8000/api/classify/ diff --git a/runstart/src/main/resources/application.yml b/runstart/src/main/resources/application.yml index 3d7808a0..a8b9b215 100644 --- a/runstart/src/main/resources/application.yml +++ b/runstart/src/main/resources/application.yml @@ -1,3 +1,3 @@ spring: profiles: - active: dev + active: pro