fix: some api bug

This commit is contained in:
wwweww
2026-03-31 22:12:06 +08:00
parent c5ff4f0216
commit e7970ac25f
219 changed files with 16195 additions and 2126 deletions
+6
View File
@@ -21,6 +21,12 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
Path: "/",
Handler: game.ListGamesHandler(serverCtx),
},
{
// 创建游戏
Method: http.MethodPost,
Path: "/",
Handler: game.CreateGameHandler(serverCtx),
},
{
// 获取游戏详情
Method: http.MethodGet,