From 84980f0fa9b06e13c9cdba5031db75f6d9e2643d Mon Sep 17 00:00:00 2001 From: AndyChen1024 Date: Fri, 11 Sep 2026 13:05:10 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0=20gitignored=20?= =?UTF-8?q?=E5=87=AD=E6=8D=AE=E6=96=87=E4=BB=B6=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + secrets.properties.example | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 secrets.properties.example diff --git a/.gitignore b/.gitignore index df2577b..1f23072 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ gradle/gradle-daemon-jvm.properties *.iml .idea/ local.properties +secrets.properties # OS .DS_Store diff --git a/secrets.properties.example b/secrets.properties.example new file mode 100644 index 0000000..8f10546 --- /dev/null +++ b/secrets.properties.example @@ -0,0 +1,19 @@ +# 服务器凭据模板 —— 复制为 secrets.properties 并填入真实值 +# secrets.properties 已被 .gitignore 忽略(绝不提交);本 example 文件可安全提交,供 clone 后照着填。 +# +# ---- SSH(生产机)---- +SSH_HOST= +SSH_PORT=22 +SSH_USER= +SSH_PASSWORD= + +# ---- MySQL 生产库 ---- +MYSQL_PROD_HOST= +MYSQL_PROD_PORT=3306 +MYSQL_PROD_USER= +MYSQL_PROD_PASSWORD= +MYSQL_PROD_DB=mys_info_v3 + +# ---- 后端 API ---- +API_BASE_URL=https://m.muguaclub.cn/clock +API_TOKEN=