添加OCR相关配置
This commit is contained in:
@@ -292,6 +292,30 @@ justauth:
|
||||
type: default
|
||||
prefix: 'demo::'
|
||||
timeout: 1h
|
||||
# 云端OCR识别集成配置参数
|
||||
OCR:
|
||||
#请求OCR转换接口
|
||||
handleFileUrl: https://sws.trans-cosmos.com.cn/WebService.asmx/FileConversion
|
||||
#handleFileUrl = https://61.136.1.103:8091/WebService.asmx/FileConversion
|
||||
# OCR回调接口地址 配置客户本地的IP及端口号
|
||||
# callBackUrl: http://139.9.235.66:9110/api/ocr/OCRRestful/OcrHandleResult
|
||||
callBackUrl: http://127.0.0.1:8080/api/ocr/OCRRestful/OcrHandleResult
|
||||
# OCR认证用户
|
||||
userId: dayuzhou1234
|
||||
# OCR认证编码
|
||||
authCode: 123456
|
||||
# OCR接口公钥
|
||||
publicKey: EC4KKA6ZDTCPAOCRBC5M
|
||||
# OCR文件存储路径
|
||||
ocrPath: D:/APPSOFT/LAWSOCRDEMO/OCRFILE/
|
||||
#ocrPath: /data/DeploymentPackage/laws-shanqi/APPSOFT/LAWSOCRDEMO/OCRFILE/
|
||||
# OCR文件下载地址
|
||||
# ocrDownPath: http://139.9.235.66:9020/downfile/
|
||||
ocrDownPath: http://127.0.0.1:9020/downfile/
|
||||
# OCR接口超时时间
|
||||
times: 20
|
||||
# OCR转换类型
|
||||
convertType: BOTH
|
||||
## eureka注册中心
|
||||
eureka:
|
||||
client:
|
||||
|
||||
Reference in New Issue
Block a user