feat: 同步今日小程序与后台迭代版本

集中提交今日 API、管理端、小程序与部署文档调整,确保 Gitea 主分支与本地最新开发版本一致。

Made-with: Cursor
This commit is contained in:
卡若
2026-04-20 11:07:55 +08:00
parent 7108f28280
commit ce55c48c64
180 changed files with 11659 additions and 6078 deletions

20
scripts/env.bt.example Normal file
View File

@@ -0,0 +1,20 @@
# 复制为同目录下的 .env.bt 后填写(.env.bt 已 gitignore勿提交
# cp scripts/env.bt.example scripts/.env.bt
#
# 若密钥放在腾讯云「凭据管理系统」:可用脚本拉取并生成 .env.bt宝塔密钥仍需你在面板复制进凭据
# export MBTI_BT_SECRET_NAME=你的凭据名
# .venv-bt/bin/python scripts/sync_env_bt_from_tencent_ssm.py
# .venv-bt/bin/python scripts/sync_env_bt_from_tencent_ssm.py --deploy-api
BT_API_KEY=
# 可选:与面板不一致时覆盖
# BT_PANEL_URL=https://你的面板:端口
# 可选:面板自动识别失败时,写服务器上 api 代码根(含 app/、route/
# MBTI_API_CODE_ROOT=/www/wwwroot/xxx/mbti-api/api
# 可选:仅上传 admin 静态时需要
# MBTI_ADMIN_SITE_ROOT=/www/wwwroot/xxx/mbti-admin
# 可选:上传后重载 PHP
# BT_PHP_FPM_SERVICE=php-fpm-82