123456789101112131415 |
- package routers
- import (
- "Panel_development/app/controller"
- "github.com/gin-gonic/gin"
- )
- func PageManageRouter(r *gin.Engine) {
- group := r.Group("/api")
- group.POST("/pageManage", controller.GetPageManage)
- group.POST("/addpageManage", controller.AddPageManage)
- group.PUT("/pageManage", controller.UpdatePageManage)
- group.DELETE("/pageManage", controller.DeletePageManage)
- group.GET("/pageManage", controller.GetPageManageById)
- }
|