This commit is contained in:
makeyangcom
2024-03-16 11:52:44 +08:00
parent 00f3e439ff
commit a0076078c8
11 changed files with 1335 additions and 47 deletions

View File

@@ -10,6 +10,7 @@ package Interface
import (
"Game/framework/config"
AccountInterface "Game/framework/interface/account"
"Game/framework/interface/ping"
"context"
"fmt"
@@ -32,6 +33,12 @@ func router() *gin.Engine {
// 健康检查接口
router.GET("/ping", PingInterface.Ping)
// 账户相关接口
account := router.Group("account")
{
account.POST("/register", AccountInterface.Register)
}
return router
}