From 1745f283a8bb4a5d4b06a83edaa7df34cad01785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AF=92=E5=AF=92?= <2596194220@qq.com> Date: Sun, 24 May 2026 22:57:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7=EF=BC=8C=E4=BF=AE=E5=A4=8D=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 15 +++++++++++++++ .gitignore | 3 --- .version | 4 ++-- 3 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 .env diff --git a/.env b/.env new file mode 100644 index 0000000..55dbc16 --- /dev/null +++ b/.env @@ -0,0 +1,15 @@ +# 数据库配置 +DB_HOST=100.66.1.4 +DB_PORT=3306 +DB_USER=root +DB_PASSWORD=sc666666 +DB_NAME=recipe_tools + +# AI 翻译配置 +AI_API_KEY=6a81b361620a44fd86aa3c8fcd833800.PjPyiU8kSzCTviYa +AI_BASE_URL=https://open.bigmodel.cn/api/paas/v4/ +AI_MODEL=GLM-4.7-Flash + +# 版本更新配置 +# 在 OneDev 中创建 Access Token (Settings → Access Tokens → New Token, scope: Read code) +ONEDEV_ACCESS_TOKEN=Gtn1krR7tmv4x2c7xLupvW6OqgwWbmanpKonknpQ diff --git a/.gitignore b/.gitignore index ad45915..7d73634 100644 --- a/.gitignore +++ b/.gitignore @@ -31,9 +31,6 @@ yarn-debug.log* yarn-error.log* .pnpm-debug.log* -# env files (can opt-in for committing if needed) -.env - # vercel .vercel diff --git a/.version b/.version index 8acf2e6..4e11aba 100644 --- a/.version +++ b/.version @@ -1,5 +1,5 @@ { - "version": "1.0.0", + "version": "1.0.1", "release_date": "2025-01-15", - "changelog": "修复了XXX问题,增加了YYY功能" + "changelog": "更新版本号,修复配置文件" }