From 71e97d7bb6a13f2fa12fd2efe30986bd439b836f Mon Sep 17 00:00:00 2001 From: DELL Date: Mon, 8 Apr 2024 19:24:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9pro=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/cn/jyjz/xiaoyao/ocr/thread/TaskRunner.java | 4 ++-- runstart/src/main/resources/application-pro.yml | 1 + runstart/src/main/resources/application.yml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) 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