fix(api): 执行明细补齐 action 与目标知识库字段
逐项明细 DTO 漏了 action(前端 parseReleaseItemExecution 必需),点 「查看结果」整个明细区报 invalid release item execution。同时把遷移 000044 的 target_knowledge_base_id 读出来透出,页面逐项结果显示「目标库」, 让'目标知识库可选'在界面上可核对。测试:Go 契约用例 + 前端解析回归用例。
This commit is contained in:
@@ -107,6 +107,8 @@ type ReleaseItemExecutionView struct {
|
||||
ErrorCode string `json:"error_code"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
CompletedAt *time.Time `json:"completed_at"`
|
||||
// TargetKnowledgeBaseID 是该项冻结的目标知识库(迁移 000044 起)。旧行可能为空。
|
||||
TargetKnowledgeBaseID string `json:"target_knowledge_base_id"`
|
||||
}
|
||||
|
||||
type ReleaseExecutionDetail struct {
|
||||
|
||||
Reference in New Issue
Block a user