Files

108 lines
2.8 KiB
Markdown
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.
# 兴邦金租智能评审系统 - 访问指南
## 当前运行状态
### ✅ 后端服务(运行中)
- **端口**: 8002
- **API文档**: http://localhost:8002/docs
- **健康检查**: http://localhost:8002/
### ⚠️ 前端服务(需要启动)
mini-OpenClaw 前端目前没有单独运行。你有两种选择:
## 方案1:使用 API 文档直接测试(推荐)
直接在浏览器打开:**http://localhost:8002/docs**
在这个页面你可以:
1. 看到所有7个助手的API接口
2. 直接在网页上测试功能(点击 "Try it out")
3. 查看请求/响应示例
### 可用的API端点
#### 数据查询
- `GET /api/xingbang/unified/data/reviewers` - 查看主审员画像
- `GET /api/xingbang/unified/data/team-experience` - 查看团队经验库
- `GET /api/xingbang/unified/data/history-stats` - 历史案例统计
#### 智能助手
- `POST /api/xingbang/unified/assistant1/risk-check` - 立项前置风控
- `POST /api/xingbang/unified/assistant6/allocate` - 主审员智能分配
- `POST /api/xingbang/unified/assistant7/pre-screen` - AI预审过滤
## 方案2:启动 mini-OpenClaw 前端
```bash
# 如果已经有进程占用端口,先停止
# 然后启动前端(会自动选择可用端口)
cd F:\mini-OpenClaw
npm run dev
```
前端会自动选择可用端口(如3001、3002等),启动后:
- 主界面:http://localhost:端口号/
- 兴邦工作台:http://localhost:端口号/xingbang-unified
## 快速测试示例
### 1. 查看主审员画像
浏览器访问或命令行:
```bash
curl http://localhost:8002/api/xingbang/unified/data/reviewers
```
### 2. 测试主审员智能分配
```bash
curl -X POST http://localhost:8002/api/xingbang/unified/assistant6/allocate \
-H "Content-Type: application/json" \
-d '{
"project_industry": "光伏设备制造",
"project_amount": 5000,
"project_complexity": 3
}'
```
返回示例:
```json
{
"recommendations": [
{
"reviewer": "王芳",
"score": 80.9,
"breakdown": {
"industry_match": 35.0,
"availability": 30.8,
"quality": 18.4,
"balance": 10.0
},
"estimated_days": 8
}
]
}
```
## 数据文件位置
所有数据存储在:
- 主审员画像:`backend/xingbang_data/reviewers/reviewer_profiles.json`
- 团队经验:`backend/xingbang_data/team_experience/team_patterns.json`
- 历史案例:`backend/xingbang_data/history/review_cases.jsonl`
## 当前已初始化的数据
✅ 4位主审员(李明、王芳、张强、刘洋)
✅ 156个历史案例的团队经验
✅ 3个行业的高频风险模式
✅ 审批阈值共识数据
## 需要帮助?
参考完整文档:
- `PROJECT_OVERVIEW.md` - 项目总览
- `DEPLOYMENT_GUIDE.md` - 部署指南
- `IMPLEMENTATION_REPORT.md` - 实施报告