Refactor brand service and related components
- Removed ListQuestionVersions method and associated types from BrandService and Queries. - Updated PromptRuleGenerationService to change task naming and handling. - Enhanced ScheduleTaskService to support filtering by created date range and keyword. - Introduced InstantTaskService for managing instant tasks with appropriate filtering and response structures. - Added InstantTaskHandler for handling API requests related to instant tasks. - Created InstantTaskTab component for the admin web interface to display and manage instant tasks. - Updated database migrations to rename source types for articles and generation tasks. - Adjusted models and repository queries to reflect the removal of question version handling.
This commit is contained in:
@@ -1070,7 +1070,6 @@ flowchart LR
|
||||
- `/api/tenant/brands/{id}`
|
||||
- `/api/tenant/brands/{id}/keywords`
|
||||
- `/api/tenant/brands/{id}/questions`
|
||||
- `/api/tenant/brands/{id}/question-versions`
|
||||
- `/api/tenant/brands/{id}/competitors`
|
||||
- `/api/tenant/knowledge/groups`
|
||||
- `/api/tenant/knowledge/items`
|
||||
|
||||
@@ -557,7 +557,6 @@ workspace_service 聚合多个 repository 数据,单次返回,避免前端
|
||||
| DELETE | `/api/tenant/brands/{id}/keywords/{kid}` | 删除关键词 |
|
||||
| GET | `/api/tenant/brands/{id}/questions` | 问题列表 (按关键词筛选) |
|
||||
| POST | `/api/tenant/brands/{id}/questions` | 创建问题 (自动创建 v1 版本) |
|
||||
| GET | `/api/tenant/brands/{id}/question-versions` | 问题版本列表 |
|
||||
| GET | `/api/tenant/brands/{id}/competitors` | 竞品列表 |
|
||||
| POST | `/api/tenant/brands/{id}/competitors` | 创建竞品 |
|
||||
| PUT | `/api/tenant/brands/{id}/competitors/{cid}` | 更新竞品 |
|
||||
|
||||
Reference in New Issue
Block a user