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

17 lines
314 B
Go

package router
import (
"SamWaf/api"
"github.com/gin-gonic/gin"
)
// 不鉴权
type CenterPublicRouter struct {
}
func (receiver *CenterPublicRouter) InitCenterRouter(group *gin.RouterGroup) {
api := api.APIGroupAPP.CenterApi
router := group.Group("")
router.POST("/samwaf/center/update", api.UpdateApi)
}