chore(points): 移除已废弃的 erp-points crate + 注释空桩和死常量
- 删除 erp-points/ 目录(全部 501 handler,功能由 erp-health 完整提供) - 从 workspace Cargo.toml 和 erp-server 依赖中移除 - erp-dialysis event.rs: 说明事件由 erp-health 统一消费的设计意图 - erp-health event.rs: 标记 PATIENT_VERIFIED/PATIENT_DECEASED 为待实现
This commit is contained in:
@@ -31,7 +31,6 @@ erp-plugin.workspace = true
|
||||
erp-health.workspace = true
|
||||
erp-ai.workspace = true
|
||||
erp-dialysis.workspace = true
|
||||
# erp-points 已禁用,积分功能统一由 erp-health 提供
|
||||
anyhow.workspace = true
|
||||
uuid.workspace = true
|
||||
chrono.workspace = true
|
||||
|
||||
@@ -350,7 +350,6 @@ async fn main() -> anyhow::Result<()> {
|
||||
);
|
||||
|
||||
// Points module 已统一到 erp-health(/health/points/* 路由)
|
||||
// erp-points 的 /points/* 路由为重复实现(大部分 501),已禁用
|
||||
|
||||
|
||||
// Initialize dialysis module
|
||||
@@ -369,7 +368,6 @@ async fn main() -> anyhow::Result<()> {
|
||||
.register(message_module)
|
||||
.register(health_module)
|
||||
.register(ai_module)
|
||||
// erp-points 已禁用,积分功能统一由 erp-health 提供
|
||||
.register(dialysis_module);
|
||||
tracing::info!(
|
||||
module_count = registry.modules().len(),
|
||||
@@ -550,7 +548,6 @@ async fn main() -> anyhow::Result<()> {
|
||||
.merge(erp_plugin::module::PluginModule::protected_routes())
|
||||
.merge(erp_health::HealthModule::protected_routes())
|
||||
.merge(erp_ai::AiModule::protected_routes())
|
||||
// erp-points 已禁用,积分路由统一由 erp-health /health/points/* 提供
|
||||
.merge(erp_dialysis::DialysisModule::protected_routes())
|
||||
.merge(handlers::audit_log::audit_log_router())
|
||||
.route(
|
||||
|
||||
Reference in New Issue
Block a user