mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2025-12-06 14:59:18 +08:00
18 lines
423 B
Go
18 lines
423 B
Go
package router
|
|
|
|
import (
|
|
"SamWaf/api"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
type WafLicenseRouter struct {
|
|
}
|
|
|
|
func (receiver *WafLicenseRouter) InitLicenseRouter(group *gin.RouterGroup) {
|
|
api := api.APIGroupAPP.WafLicenseApi
|
|
router := group.Group("")
|
|
router.GET("/samwaf/license/detail", api.GetDetailApi)
|
|
router.POST("/samwaf/license/checklicense", api.CheckLicense)
|
|
router.GET("/samwaf/license/confirm", api.ConfirmApi)
|
|
}
|