org_player_rank.go 357 Bytes
Newer Older
haoyanbin's avatar
haoyanbin committed
1 2 3 4 5 6 7 8 9 10 11 12
package router

import (
	"github.com/gin-gonic/gin"
	"go-admin/app/mobile/apis"
)

func init() {
	routerCheckRole = append(routerCheckRole, registerOrgPlayerRankRouter)
}

// registerOrgTeamPlayerRouter
haoyanbin's avatar
haoyanbin committed
13
func registerOrgPlayerRankRouter(v1 *gin.RouterGroup) {
haoyanbin's avatar
haoyanbin committed
14
	api := apis.OrgPlayerRank{}
haoyanbin's avatar
haoyanbin committed
15
	r := v1.Group("/org-player-rank")
haoyanbin's avatar
haoyanbin committed
16 17 18 19
	{
		r.GET("", api.GetPage)
	}
}