diff --git a/jyjz-system/jyjz-system-oa/src/main/java/cn/jyjz/xiaoyao/ocr/api/utils/ApiConfig.java b/jyjz-system/jyjz-system-oa/src/main/java/cn/jyjz/xiaoyao/ocr/api/utils/ApiConfig.java index 2eea963e..9407bf57 100644 --- a/jyjz-system/jyjz-system-oa/src/main/java/cn/jyjz/xiaoyao/ocr/api/utils/ApiConfig.java +++ b/jyjz-system/jyjz-system-oa/src/main/java/cn/jyjz/xiaoyao/ocr/api/utils/ApiConfig.java @@ -46,7 +46,6 @@ public class ApiConfig { */ private Integer readTimeout = 60000; - @Value("${ocr.api.wly.localImagePath}") private String localImagePath; /** diff --git a/runstart/src/main/resources/application-dev.yml b/runstart/src/main/resources/application-dev.yml index b297e84c..ee6744ba 100644 --- a/runstart/src/main/resources/application-dev.yml +++ b/runstart/src/main/resources/application-dev.yml @@ -160,15 +160,15 @@ mybatis-plus: xiaoyao: web: #上传文件路径 - uploadPath: E:/ZJWorkSpace/ocr/htmlweb/upload + uploadPath: D:/Java/idea/IdeaWorkSpace/ocr/htmlweb/upload #页面根路径 - frontPath: E:/ZJWorkSpace/ocr/htmlweb + frontPath: D:/Java/idea/IdeaWorkSpace/ocr/htmlweb #js、css、图片存放路径 - staticPath: E:/ZJWorkSpace/ocr/htmlweb/static + staticPath: D:/Java/idea/IdeaWorkSpace/ocr/htmlweb/static #页面模版路径 - webPath: E:/ZJWorkSpace/ocr/htmlweb/web + webPath: D:/Java/idea/IdeaWorkSpace/ocr/htmlweb/web #Lucene索引路径 - lucenePath: E:/ZJWorkSpace/ocr/htmlweb/lucene/indexDir + lucenePath: D:/Java/idea/IdeaWorkSpace/ocr/htmlweb/lucene/indexDir #是否开启flowable haveFlowable: true webconfig: @@ -272,17 +272,7 @@ springfox: enabled: true # 是否启用swagger,postman调试 debugger_tools: true -#无量云api配置信息 -ocr: - api: - wly: - interface-domain: https://b-test.prevailcloud.com #接口域名 - accessKey: 7390F0221A1A73D8E13F8C8BB96F33B0 #秘钥 - accessCode: ED6F7B39768AF95E87AEA8ACCCC71A6F #秘钥编码 - 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://47.93.59.251/ai/api/similarity/ classifyPath: http://47.93.59.251/api/classify/ diff --git a/runstart/src/main/resources/application-pro.yml b/runstart/src/main/resources/application-pro.yml index 0766abfc..96db8265 100644 --- a/runstart/src/main/resources/application-pro.yml +++ b/runstart/src/main/resources/application-pro.yml @@ -275,18 +275,7 @@ springfox: enabled: true # 是否启用swagger,postman调试 debugger_tools: true - -#无量云api配置信息 -ocr: - api: - wly: - interface-domain: https://b-test.prevailcloud.com #接口域名 - accessKey: 7390F0221A1A73D8E13F8C8BB96F33B0 #秘钥 - accessCode: ED6F7B39768AF95E87AEA8ACCCC71A6F #秘钥编码 - 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 a8b9b215..3d7808a0 100644 --- a/runstart/src/main/resources/application.yml +++ b/runstart/src/main/resources/application.yml @@ -1,3 +1,3 @@ spring: profiles: - active: pro + active: dev