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=