build: add server-rs check scripts

This commit is contained in:
2026-04-21 01:48:33 +08:00
parent 6a560236f4
commit fdab91e54d
12 changed files with 178 additions and 26 deletions

View File

@@ -3,9 +3,7 @@ use serde_json::{json, Value};
use crate::{api_response::json_success_body, request_context::RequestContext};
pub async fn health_check(
Extension(request_context): Extension<RequestContext>,
) -> Json<Value> {
pub async fn health_check(Extension(request_context): Extension<RequestContext>) -> Json<Value> {
json_success_body(
Some(&request_context),
json!({