feat(history): establish Telegram SaaS platform foundation

This commit is contained in:
wmq
2026-07-27 23:03:00 +08:00
parent cf0eed46c3
commit cd06d049fe
92 changed files with 5608 additions and 3749 deletions
+34 -6
View File
@@ -1,7 +1,35 @@
# ===== 灵犀跨境 前端环境变量 =====
# 是否使用内置 Mock 服务:true = 本地模拟数据(默认);false = 请求真实后端
VITE_USE_MOCK=true
# 必须生成新值,禁止提交真实密钥
LX_DB_PASSWORD=replace-with-strong-database-password
LX_JWT_SECRET=replace-with-at-least-32-random-characters
LX_WEB_PORT=8088
# 真实后端 API 基础地址(VITE_USE_MOCK=false 时生效)
# 注意:请通过服务端环境变量管理密钥,前端代码中禁止放置任何真实 API Key
VITE_API_BASE_URL=http://localhost:8080/api
# DeepSeek Anthropic-compatible API
DEEPSEEK_API_KEY=replace-with-rotated-deepseek-key
DEEPSEEK_MODEL=deepseek-v4-flash
# 已部署的 Telegram Gateway 服务凭据
TELEGRAM_GATEWAY_URL=http://host.docker.internal:3000/api
TELEGRAM_GATEWAY_TOKEN=replace-with-gateway-jwt
TELEGRAM_GATEWAY_TENANT_ID=replace-with-gateway-tenant-id
TELEGRAM_GATEWAY_SERVICE_EMAIL=replace-with-gateway-service-email
TELEGRAM_GATEWAY_SERVICE_PASSWORD=replace-with-random-service-password
TELEGRAM_GATEWAY_ACCOUNT_ID=replace-with-default-account-id
TELEGRAM_WEBHOOK_SECRET=replace-with-random-webhook-secret
PUBLIC_WEBHOOK_BASE_URL=http://host.docker.internal:8088
APP_PUBLIC_URL=http://127.0.0.1:8088
# 真实团队邀请邮件
SMTP_HOST=
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USER=
SMTP_PASSWORD=
SMTP_FROM=
# 真实 Stripe Checkout
STRIPE_SECRET_KEY=
STRIPE_WEBHOOK_SECRET=
STRIPE_PRICE_LITE=
STRIPE_PRICE_STANDARD=
STRIPE_PRICE_PRO=
STRIPE_PRICE_GROWTH=