mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2025-12-06 14:59:18 +08:00
17 lines
314 B
Go
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)
|
|
}
|