✨ 新增几大中心功能
This commit is contained in:
18
server/router/app/app_auth.go
Normal file
18
server/router/app/app_auth.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package app
|
||||
|
||||
import (
|
||||
api "git.echol.cn/loser/Go-Web-Template/server/api/v1"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
var appAuthApi = api.ApiGroupApp.AppApiGroup.AppAuthApi
|
||||
|
||||
type AppAuthRouter struct{}
|
||||
|
||||
// InitAppAuthRouter 玩家端登录态接口(/app/*)
|
||||
func (s *AppAuthRouter) InitAppAuthRouter(Router *gin.RouterGroup) {
|
||||
group := Router.Group("app")
|
||||
{
|
||||
group.GET("me", appAuthApi.Me)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user