Skip to main content

hello

Function hello 

Source
pub async fn hello() -> Json<Value>
Expand description

Hello World 处理器

返回标准 JSON 响应,对齐 PHP renderJson($code=1, $msg='', $data=[])

{ "code": 1, "msg": "hello", "data": {} }