@@ -0,0 +1,16 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"91porn-server/web/api/officialctrl"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func officialRouter(router *gin.RouterGroup) {
|
||||
group := router.Group("/official")
|
||||
{
|
||||
group.GET("/list", officialctrl.List)
|
||||
group.POST("/update", officialctrl.Update)
|
||||
group.POST("/add", officialctrl.Add)
|
||||
group.DELETE("/delete", officialctrl.Delete)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user