@@ -0,0 +1,17 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"91porn-server/web/api/goldcfgctrl"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func goldCfgRouter(router *gin.RouterGroup) {
|
||||
g := router.Group("/gold/cfg")
|
||||
{
|
||||
g.POST("/add", goldcfgctrl.Add)
|
||||
g.POST("/edit", goldcfgctrl.Edit)
|
||||
g.GET("/list", goldcfgctrl.List)
|
||||
g.DELETE("/del", goldcfgctrl.Del)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user