chore(points): 移除已废弃的 erp-points crate + 注释空桩和死常量
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-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:
iven
2026-04-30 08:24:20 +08:00
parent ef0b784f4f
commit cec487bd2c
27 changed files with 3 additions and 1881 deletions

View File

@@ -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(