refactor(health): 拆分 module.rs 路由注册为 13 个子模块

protected_routes (800+ 行) 按业务域拆分为 routes/ 目录下 13 个文件:
patient / health_data / follow_up / appointment / consultation /
article / points / stats / alert / device / media / care / admin。

module.rs 从 1595 行降至 798 行,路由注册逻辑更清晰。
This commit is contained in:
iven
2026-05-11 12:59:56 +08:00
parent fc30702846
commit d0cb45f457
16 changed files with 975 additions and 811 deletions

View File

@@ -9,6 +9,7 @@ pub mod handler;
pub mod health_provider_impl;
pub mod module;
pub mod oauth;
pub mod routes;
pub mod service;
pub mod state;