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 requestUrl = "http://127.0.0.1:8867/ocr";
|
||||
// String requestUrl = "http://127.0.0.1:8867/paddlex/ocr";
|
||||
|
||||
Map<String, Object> reqPayload = new HashMap<>();
|
||||
reqPayload.put("file", fileUrl);
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
server:
|
||||
servlet:
|
||||
context-path: /api # 应用的访问路径
|
||||
context-path: / # 应用的访问路径
|
||||
tomcat:
|
||||
uri-encoding: UTF-8 # URI编码
|
||||
accept-count: 1000 # 连接数满后的排队数
|
||||
threads:
|
||||
max: 800 # 最大线程数
|
||||
min-spare: 100 # 初始化的线程数
|
||||
port: 80
|
||||
port: 8080
|
||||
|
||||
spring:
|
||||
servlet:
|
||||
@@ -23,7 +23,7 @@ file:
|
||||
|
||||
static-path: /static/file
|
||||
# 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
|
||||
container-dir: container
|
||||
temp-dir: temp
|
||||
@@ -10,7 +10,7 @@ const userStore = useUserStore();
|
||||
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 图片查看器控制
|
||||
const showPreview = ref(false);
|
||||
|
||||
Reference in new issue
Block a user