protected_routes (800+ 行) 按业务域拆分为 routes/ 目录下 13 个文件: patient / health_data / follow_up / appointment / consultation / article / points / stats / alert / device / media / care / admin。 module.rs 从 1595 行降至 798 行,路由注册逻辑更清晰。
20 lines
380 B
Rust
20 lines
380 B
Rust
pub mod crypto;
|
|
pub mod dto;
|
|
pub mod entity;
|
|
pub mod error;
|
|
pub mod event;
|
|
pub mod fhir;
|
|
pub mod gateway_auth;
|
|
pub mod handler;
|
|
pub mod health_provider_impl;
|
|
pub mod module;
|
|
pub mod oauth;
|
|
pub mod routes;
|
|
pub mod service;
|
|
pub mod state;
|
|
|
|
pub use crypto::HealthCrypto;
|
|
pub use health_provider_impl::HealthDataProviderImpl;
|
|
pub use module::HealthModule;
|
|
pub use state::HealthState;
|