From b00f8d7f469ab166ff98ffc3d8746f080876fae1 Mon Sep 17 00:00:00 2001 From: Quentin <1771956812@qq.com> Date: Mon, 12 Oct 2026 10:13:36 +0800 Subject: [PATCH] =?UTF-8?q?config:=20=E7=9B=B4=E6=8E=A5=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=20application.yml=EF=BC=88=E5=88=A0=20.example=20=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除 .gitignore 对 application.yml 的忽略 - 删除 application.yml.example 和 application.yml.bak-pua - 提交真实配置(rustfsadmin 凭证)用于直接部署 --- .gitignore | 3 --- .../resources/{application.yml.example => application.yml} | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) rename java-svc/src/main/resources/{application.yml.example => application.yml} (86%) diff --git a/.gitignore b/.gitignore index b96bd4e..d39f6ce 100644 --- a/.gitignore +++ b/.gitignore @@ -5,9 +5,6 @@ java-svc-jdk8/target/ *.jar !scripts/**/*.jar -# 含密钥的本地配置(仓库里只放 application.yml.example) -java-svc/src/main/resources/application.yml - # 备份/临时 *.bak-* *.log diff --git a/java-svc/src/main/resources/application.yml.example b/java-svc/src/main/resources/application.yml similarity index 86% rename from java-svc/src/main/resources/application.yml.example rename to java-svc/src/main/resources/application.yml index 20c2aae..0c4bfaf 100644 --- a/java-svc/src/main/resources/application.yml.example +++ b/java-svc/src/main/resources/application.yml @@ -18,7 +18,7 @@ wordparse: convert-unicode-symbols: true oss: endpoint: https://fs.code-lab.cn - access-key: ${WORDPARSE_OSS_AK:} - secret-key: ${WORDPARSE_OSS_SK:} + access-key: rustfsadmin + secret-key: rustfsadmin_sTwHez bucket: word-parse prefix: office/file/parse/