20260509172741

This commit is contained in:
oneao committed 2026-05-09 17:27:41 +08:00
1 parent 624ddf4ada
commit 85bb38e99b
3 files changed
+5 -4

No files matched your search

@@ -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