feat(reconciliation): T6 导入对账(契约/后端/前端) #41
@@ -17,4 +17,4 @@ func KnowledgeBaseConsoleURL(origin, knowledgeBaseID string) string {
|
||||
return ""
|
||||
}
|
||||
return strings.TrimSuffix(origin, "/") + "/platform/knowledge-bases/" + url.PathEscape(knowledgeBaseID)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,4 +16,4 @@ func TestKnowledgeBaseConsoleURLCannotInventAHost(t *testing.T) {
|
||||
t.Fatalf("KnowledgeBaseConsoleURL(%q,%q) = %q, want %q", c.origin, c.kb, got, c.want)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user