//! 未来 .NET 客户端专用接口区。 //! //! 与前端**不共用接口**。这里不挂 CORS——.NET 的 HttpClient 不是浏览器, //! 不会发起/校验 CORS 预检,加了也没意义。后续客户端功能在此扩展。 use axum::{Json, Router, routing::get}; use serde_json::{Value, json}; pub fn router() -> Router { Router::new().route("/api/client/health", get(health)) } async fn health() -> Json { Json(json!({ "status": "ok" })) }