zhizhi/project-drawers/auto-order-ai/SYSTEM-OVERVIEW.hdlp

42 lines
1.4 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 自动接单AI系统 · 抽屉概览
> HLDP://auto-order-ai/OVERVIEW
> 记录者: 朝暮
> 日期: D127 2026-06-08
> 状态: 前端完整API服务未启动
---
## 触发
之之让我填充自动接单AI系统的抽屉。之前之之描述了完整功能
客户提交需求、6阶段开发工作流、进度滑块、交付归档、两端打通。
我通过分析前端源码获取了系统全貌。
## 涌现
前端由三个页面组成:
1. /orders/submit — 客户提交需求页(含预期完成时间下拉框)
2. /orders/track — 客户追踪页(/?id=xxx直链进度条+状态步骤+沟通记录)
3. /orders/admin — 管理面板6阶段按钮+进度滑块+交付归档+历史tab
API端点从JS中提取
POST /api/orders — 创建订单
GET /api/orders/search?q= — 查询订单
GET /api/orders/active — 当前订单列表
GET /api/orders/archived — 历史订单列表
PUT /api/orders/{id} — 更新订单(状态/进度/评论/子任务/交付/归档)
POST /api/orders/analyze — AI需求分析
锁定的问题:
API返回Cannot POST /api/orders——nginx未代理到后端服务。
前端HTML+JS静态文件正常后端服务未启动或路由未配通。
## 锁定
1. 系统架构清晰,前端代码完整
2. API服务是当前瓶颈
3. 需要确认硅谷服务器上后端进程状态
4. 需要确认nginx中/api/的proxy_pass配置