chore: 添加 gitignored 凭据文件模板

This commit is contained in:
AndyChen1024
2026-09-11 13:05:10 +08:00
parent b14f883e3e
commit 84980f0fa9
2 changed files with 20 additions and 0 deletions

1
.gitignore vendored
View File

@@ -8,6 +8,7 @@ gradle/gradle-daemon-jvm.properties
*.iml
.idea/
local.properties
secrets.properties
# OS
.DS_Store

View File

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