feat: 迁移渠道列表新增和游戏累计分布
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"kra/internal/server/handler"
|
||||
)
|
||||
|
||||
func RegisterChannel(private *gin.RouterGroup, h *handler.Channel) {
|
||||
g := private.Group("/sw/promote")
|
||||
g.GET("/list", h.List)
|
||||
g.GET("/bindOptions", h.Bindings)
|
||||
g.GET("/game-distribution", h.Games)
|
||||
g.POST("", h.Create)
|
||||
}
|
||||
Reference in New Issue
Block a user