chore: 编译器警告清理 — 22 条全部消除,workspace 零警告
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:
@@ -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>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user