feat(): 添加待审核

This commit is contained in:
tsl
2026-03-23 09:10:32 +08:00
parent 17618ec3a0
commit 92055dd6a0
71 changed files with 541 additions and 195 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ fn handle_callback_request(app_handle: &tauri::AppHandle, mut stream: std::net::
let (action, body) = if request.contains("GET /postpone") {
let _ = app_handle.emit("notification-action", "postpone_1h");
("postpone", simple_page("已推迟1小时,监将在1小时后恢复"))
("postpone", simple_page("已推迟1小时,监将在1小时后恢复"))
} else if request.contains("GET /handle") {
let _ = app_handle.emit("notification-action", "go_handle");
("handle", redirect_page("https://crm.yunvip123.com/index.html"))
+1 -1
View File
@@ -18,7 +18,7 @@ fn xml_escape(s: &str) -> String {
/// 发送带交互按钮的 Toast 通知
///
/// - 点击消息体 → 关闭通知(非打包应用不支持 foreground 激活)
/// - 点击"推迟1小时" → 通过 localhost 回调暂停监并弹出应用窗口
/// - 点击"推迟1小时" → 通过 localhost 回调暂停监并弹出应用窗口
/// - 点击"去处理" → 直接打开 CRM 网站
#[cfg(target_os = "windows")]
pub fn send_interactive_toast(