Files
SamWaf/router/center_router.go
2024-07-07 00:23:05 +08:00

17 lines
344 B
Go

package router
import (
"SamWaf/api"
"github.com/gin-gonic/gin"
)
type CenterRouter struct {
}
func (receiver *CenterRouter) InitCenterRouter(group *gin.RouterGroup) {
api := api.APIGroupAPP.CenterApi
router := group.Group("")
router.POST("/samwaf/center/list", api.GetListApi)
router.POST("/samwaf/center/detail", api.GetDetailApi)
}