feat: 收口 mindmap Phase 6 Leptos UI shell
This commit is contained in:
@@ -11,6 +11,7 @@ mod local_folder_source;
|
||||
mod local_folder_events;
|
||||
mod local_markdown_parser;
|
||||
mod media;
|
||||
mod mindmap_api;
|
||||
mod mindmap_shell;
|
||||
mod onlyoffice;
|
||||
mod query_support;
|
||||
@@ -42,6 +43,10 @@ pub fn build_router(state: AppState) -> Router {
|
||||
"/mindmap/{doc_id}/{mindmap_id}",
|
||||
get(mindmap_shell::mindmap_object_shell),
|
||||
)
|
||||
.route(
|
||||
"/api/mindmap/{doc_id}/{mindmap_id}",
|
||||
get(mindmap_api::get_mindmap).post(mindmap_api::apply_mindmap_command),
|
||||
)
|
||||
.route(
|
||||
"/documents/{document_id}",
|
||||
get(web_shell::document_page_shell),
|
||||
|
||||
Reference in New Issue
Block a user