19 lines
418 B
Go
Raw Normal View History

package gameUser
import (
"github.com/flipped-aurora/gin-vue-admin/server/middleware"
"github.com/gin-gonic/gin"
)
type GameUserRouter struct{}
func (s *GameUserRouter) InitGameUserRouter(Router *gin.RouterGroup, RouterPub *gin.RouterGroup) {
_ = RouterPub
router := Router.Group("gameUser").Use(middleware.OperationRecord())
{
router.PUT("getUserById", gameUserApi.GetUserById) // 获取玩家信息
}
}