修改api结构

This commit is contained in:
2025-11-01 23:38:51 +08:00
parent c2db98cd76
commit 6351539237
21 changed files with 0 additions and 0 deletions

14
server/api/ping/ping.api Normal file
View File

@@ -0,0 +1,14 @@
type PingReq {}
type PingResp {
Msg string `json:"message"`
}
@server (
group: ping
)
service ping-api {
@handler PingHandler
get /ping (PingReq) returns (PingResp)
}