feat: 开发采集、采集箱和商品编辑功能

This commit is contained in:
Joey
2026-08-15 22:17:26 +08:00
parent c61d1a3154
commit 36357843d0
130 changed files with 18005 additions and 12 deletions
+23
View File
@@ -11,3 +11,26 @@ HOST=127.0.0.1
PORT=8800
# Comma-separated origins when frontend runs on another port. Same-origin mount can leave empty.
CORS_ORIGINS=
# ── V2:数据层 ──
# 本地过渡用 SQLite(默认);上线腾讯云切 PostgreSQL:
# DATABASE_URL=postgresql+asyncpg://user:pass@host:5432/ozon_seller
# DATABASE_URL=sqlite+aiosqlite:///./data/app.db
# ── V2:鉴权 ──
# MVP 单用户登录 tokenstudio 登录页 / 插件 options 页填同一个值),可随意生成一长串随机字符串
APP_TOKEN=change-me-to-a-long-random-token
# 店铺 Client-Id/Api-Key 的 AES-GCM 加密密钥 + JWT 签名密钥
SECRET_KEY=change-me-to-a-long-random-secret
# ── V2:七牛(图片存储)──
# 留空则用本地文件系统兜底(开发期);填了并设 STORAGE_BACKEND=qiniu 则走七牛
QINIU_ACCESS_KEY=
QINIU_SECRET_KEY=
QINIU_BUCKET=
# 必须 httpsOzon 拉取商品图片只接受 https 直链,http 会被拒绝
QINIU_DOMAIN=https://your-cdn-domain.example.com
STORAGE_BACKEND=local
# ── V2:对外地址(插件/前端回写、生成图回调)──
APP_BASE_URL=http://127.0.0.1:8800