feat(admin): persist provider drafts in crm

This commit is contained in:
phamnazage-jpg
2026-05-27 21:49:12 +08:00
parent ebd86a4256
commit 8d7aa925df
18 changed files with 2687 additions and 3 deletions

View File

@@ -8,11 +8,22 @@
- `tksea-portal/index.html`
- `https://sub.tksea.top/portal/` 的静态页面源码
- `tksea-portal/admin/index.html`
- `https://sub.tksea.top/portal/admin/` 的管理首页
- 统一收纳“新增模型 / 供应商目录”和“导入供应商帐号”入口
- `tksea-portal/admin/providers.html`
- `https://sub.tksea.top/portal/admin/providers.html`
- 用现有 CRM API 做 pack/provider 浏览、preview-import、import以及 provider manifest 草稿生成
- 当前也可直接调用服务端 `provider_drafts` API把 manifest 草稿持久化到 CRM SQLite并支持更新 / 删除
- `tksea-portal/admin/batch-import.html`
- `https://sub.tksea.top/portal/admin/batch-import.html`
- 结构化入口地址,当前跳转到 legacy `admin-batch-import.html`
- `tksea-portal/admin-batch-import.html`
- `https://sub.tksea.top/portal/admin-batch-import.html` 的最小管理页
- 直接消费 `POST /api/batch-import/runs``GET /api/batch-import/runs/*`
- `tksea-portal/nginx.sub.tksea.top.conf.example`
- `sub.tksea.top` 上 portal 路由与代理示例
- 当前同时包含 `/portal-proxy/` 宿主用户态代理与 `/portal-admin-api/` CRM 管理态代理
它和 `scripts/` 的边界如下: