From ccbcfd2c74f01f521406e2bd3679f191570ead72 Mon Sep 17 00:00:00 2001 From: wh Date: Wed, 15 Apr 2026 23:22:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=8A=E4=BC=A0=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=A4=A7=E5=B0=8F=E9=99=90=E5=88=B6500M?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 08b3160..9a5e608 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -4,6 +4,10 @@ server: spring: application: name: label-backend + servlet: + multipart: + max-file-size: 500MB + max-request-size: 500MB datasource: url: ${SPRING_DATASOURCE_URL:jdbc:postgresql://39.107.112.174:5432/labeldb} username: ${SPRING_DATASOURCE_USERNAME:postgres} @@ -64,7 +68,7 @@ ai-service: timeout: 30000 auth: - enabled: false + enabled: true mock-company-id: 1 mock-user-id: 1 mock-role: ADMIN