20260509172741
This commit is contained in:
1 parent
624ddf4ada
commit
85bb38e99b
3 files changed
+5
-4
No files matched your search
+1
@@ -26,6 +26,7 @@ public class OcrController {
|
|||||||
String fileUrl = (String) params.get("fileUrl");
|
String fileUrl = (String) params.get("fileUrl");
|
||||||
|
|
||||||
String requestUrl = "http://127.0.0.1:8867/ocr";
|
String requestUrl = "http://127.0.0.1:8867/ocr";
|
||||||
|
// String requestUrl = "http://127.0.0.1:8867/paddlex/ocr";
|
||||||
|
|
||||||
Map<String, Object> reqPayload = new HashMap<>();
|
Map<String, Object> reqPayload = new HashMap<>();
|
||||||
reqPayload.put("file", fileUrl);
|
reqPayload.put("file", fileUrl);
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
server:
|
server:
|
||||||
servlet:
|
servlet:
|
||||||
context-path: /api # 应用的访问路径
|
context-path: / # 应用的访问路径
|
||||||
tomcat:
|
tomcat:
|
||||||
uri-encoding: UTF-8 # URI编码
|
uri-encoding: UTF-8 # URI编码
|
||||||
accept-count: 1000 # 连接数满后的排队数
|
accept-count: 1000 # 连接数满后的排队数
|
||||||
threads:
|
threads:
|
||||||
max: 800 # 最大线程数
|
max: 800 # 最大线程数
|
||||||
min-spare: 100 # 初始化的线程数
|
min-spare: 100 # 初始化的线程数
|
||||||
port: 80
|
port: 8080
|
||||||
|
|
||||||
spring:
|
spring:
|
||||||
servlet:
|
servlet:
|
||||||
@@ -23,7 +23,7 @@ file:
|
|||||||
|
|
||||||
static-path: /static/file
|
static-path: /static/file
|
||||||
# server-url: http://192.168.1.137:80/api
|
# server-url: http://192.168.1.137:80/api
|
||||||
server-url: http://ser369.g3soft.cn:80/api
|
server-url: http://ser369.g3soft.cn/api
|
||||||
common-dir: common
|
common-dir: common
|
||||||
container-dir: container
|
container-dir: container
|
||||||
temp-dir: temp
|
temp-dir: temp
|
||||||
@@ -10,7 +10,7 @@ const userStore = useUserStore();
|
|||||||
const userData = ref([]);
|
const userData = ref([]);
|
||||||
|
|
||||||
// 主二维码链接
|
// 主二维码链接
|
||||||
const mainUrl = "http://ser215.g3soft.cn:8088/g3ocr-app/#/pages-sub/upload/index";
|
const mainUrl = "http://ser369.g3soft.cn/g3ocr-app/#/pages-sub/upload/index";
|
||||||
|
|
||||||
// Element Plus 图片查看器控制
|
// Element Plus 图片查看器控制
|
||||||
const showPreview = ref(false);
|
const showPreview = ref(false);
|
||||||
|
|||||||
Reference in new issue
Block a user