feat(health): 新增预约/随访单条查询 GET 端点

This commit is contained in:
iven
2026-04-24 12:22:52 +08:00
parent 74d7efec1f
commit 2dc280a401
5 changed files with 78 additions and 1 deletions

View File

@@ -132,6 +132,10 @@ impl HealthModule {
"/health/appointments/{id}/status",
axum::routing::put(appointment_handler::update_appointment_status),
)
.route(
"/health/appointments/{id}",
axum::routing::get(appointment_handler::get_appointment),
)
.route(
"/health/doctor-schedules",
axum::routing::get(appointment_handler::list_schedules)
@@ -153,7 +157,8 @@ impl HealthModule {
)
.route(
"/health/follow-up-tasks/{id}",
axum::routing::put(follow_up_handler::update_task)
axum::routing::get(follow_up_handler::get_task)
.put(follow_up_handler::update_task)
.delete(follow_up_handler::delete_task),
)
.route(