mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2025-12-06 14:59:18 +08:00
16 lines
310 B
Go
16 lines
310 B
Go
package router
|
|
|
|
import (
|
|
"SamWaf/api"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
type SqlQueryRouter struct {
|
|
}
|
|
|
|
func (receiver *SqlQueryRouter) InitSqlQueryRouter(group *gin.RouterGroup) {
|
|
api := api.APIGroupAPP.WafSqlQueryApi
|
|
router := group.Group("")
|
|
router.POST("/samwaf/sql_query/execute", api.ExecuteQueryApi)
|
|
}
|