chore: 编译器警告清理 — 22 条全部消除,workspace 零警告
Some checks failed
CI / rust-check (push) Has been cancelled
CI / rust-test (push) Has been cancelled
CI / frontend-build (push) Has been cancelled
CI / security-audit (push) Has been cancelled

erp-ai(8): 移除未用 import + serde 结构体 #[allow(dead_code)]
erp-plugin(5): 移除未用 import + FromQueryResult 结构体允许
erp-health(8): 移除未用 import/变量 + FromQueryResult 字段允许
erp-server(1): AnalyticsEvent.timestamp 允许(未来分析集成)
This commit is contained in:
iven
2026-05-03 20:09:26 +08:00
parent e9451875a8
commit bc6206c0df
11 changed files with 22 additions and 18 deletions

View File

@@ -8,6 +8,7 @@ use erp_core::types::ApiResponse;
pub struct AnalyticsEvent {
pub event: String,
pub properties: Option<serde_json::Value>,
#[allow(dead_code)] // 客户端上报字段,后续接入分析表时会使用
pub timestamp: Option<String>,
pub page: Option<String>,
}