```
feat: 添加飞书用户模块和订阅功能支持 - 新增feishu_users模块用于处理飞书用户身份验证和权限管理 - 新增subscriptions模块用于处理订阅相关功能 - 新增personalization模块用于个性化服务 - 在alembic迁移配置中注册新的模型模块 - 在API路由器中添加feishu_users和subscriptions路由 - 实现事件调度服务的改进,包括错误处理和状态更新优化 - 添加飞书命令处理的权限检查机制 - 实现飞书应用票据事件处理 - 改进审计日志记录功能 ```
This commit is contained in:
@@ -4,54 +4,10 @@
|
||||
GET http://127.0.0.1:8010/api/v1/health
|
||||
X-API-Key: {{apiKey}}
|
||||
|
||||
### Create project
|
||||
POST http://127.0.0.1:8010/api/v1/business/projects
|
||||
Content-Type: application/json
|
||||
X-API-Key: {{apiKey}}
|
||||
|
||||
{
|
||||
"actor": "demo",
|
||||
"data": {
|
||||
"code": "P-2026-001",
|
||||
"name": "公司AI管理系统一期",
|
||||
"owner": "负责人A",
|
||||
"status": "执行中",
|
||||
"budget_amount": 100000,
|
||||
"actual_amount": 25000,
|
||||
"progress_percent": 30,
|
||||
"risk_level": "medium"
|
||||
}
|
||||
}
|
||||
|
||||
### Daily brief
|
||||
GET http://127.0.0.1:8010/api/v1/reports/daily-brief
|
||||
X-API-Key: {{apiKey}}
|
||||
|
||||
### Sync legacy tasks
|
||||
POST http://127.0.0.1:8010/api/v1/integrations/mysql/tasks/sync
|
||||
Content-Type: application/json
|
||||
X-API-Key: {{apiKey}}
|
||||
|
||||
{
|
||||
"dry_run": true,
|
||||
"limit": 50,
|
||||
"field_map": {
|
||||
"title": "task_name",
|
||||
"owner": "task_assignee",
|
||||
"due_date": "task_end_time"
|
||||
}
|
||||
}
|
||||
|
||||
### Risk assign
|
||||
POST http://127.0.0.1:8010/api/v1/risks/events/1/assign
|
||||
Content-Type: application/json
|
||||
X-API-Key: {{apiKey}}
|
||||
|
||||
{
|
||||
"assigned_to": "risk-owner",
|
||||
"comment": "请跟进处理"
|
||||
}
|
||||
|
||||
### Report push runs
|
||||
GET http://127.0.0.1:8010/api/v1/reports/push-runs
|
||||
X-API-Key: {{apiKey}}
|
||||
|
||||
Reference in New Issue
Block a user