fix(core): 跨 crate 小修复 — dto 合并、tracing 补全、死代码清理

- erp-ai: 删除孤立 dto.rs(已合并到子模块)
- erp-core: audit_service tracing 优化
- erp-health: points_handler 补充返回值、alert_engine 修正日志级别
- erp-plugin: host/data_handler/market_handler tracing 统一
- erp-dialysis/event: 移除无用 import
- erp-workflow/executor: tracing 格式统一
This commit is contained in:
iven
2026-05-03 19:31:46 +08:00
parent d378e154c4
commit 3412d807e3
12 changed files with 44 additions and 229 deletions

View File

@@ -1061,7 +1061,7 @@ where
pub async fn delete_user_view<S>(
State(state): State<PluginState>,
Extension(ctx): Extension<TenantContext>,
Path((plugin_id, entity, view_id)): Path<(Uuid, String, Uuid)>,
Path((_plugin_id, _entity, view_id)): Path<(Uuid, String, Uuid)>,
) -> Result<Json<ApiResponse<()>>, AppError>
where
PluginState: FromRef<S>,

View File

@@ -210,7 +210,7 @@ where
).await?;
let plugin_id = plugin_resp.id;
let plugin_resp = crate::service::PluginService::install(
let _plugin_resp = crate::service::PluginService::install(
plugin_id,
ctx.tenant_id,
ctx.user_id,