feat(nacos): add r-nacos compatibility

This commit is contained in:
二丫讲梵 authored and GitHub committed 2026-07-23 22:42:55 +08:00
1 parent e0ad5dcf86
commit 3c04adbdd8
31 files changed
+2481 -168

No files matched your search

+17
View File
@@ -101,6 +101,23 @@ pub async fn nacos_rollback_config(
dbx_core::nacos::service::nacos_rollback_config_core(&state, &connection_id, req).await
}
#[tauri::command]
pub async fn nacos_get_rnacos_console_captcha(
state: State<'_, Arc<AppState>>,
connection_id: String,
) -> Result<dbx_core::nacos::NacosRNacosConsoleCaptcha, String> {
dbx_core::nacos::service::nacos_get_rnacos_console_captcha_core(&state, &connection_id).await
}
#[tauri::command]
pub async fn nacos_login_rnacos_console(
state: State<'_, Arc<AppState>>,
connection_id: String,
captcha: Option<String>,
) -> Result<(), String> {
dbx_core::nacos::service::nacos_login_rnacos_console_core(&state, &connection_id, captcha).await
}
#[tauri::command]
pub async fn nacos_list_services(
state: State<'_, Arc<AppState>>,