Executable
+17
@@ -0,0 +1,17 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"91porn-server/web/api/nakedchatctrl"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
// nakedChatRouter 裸聊管理
|
||||
func nakedChatRouter(router *gin.RouterGroup) {
|
||||
group := router.Group("/nakedchat")
|
||||
{
|
||||
group.GET("/list", nakedchatctrl.List)
|
||||
group.POST("/create", nakedchatctrl.Create)
|
||||
group.POST("/update", nakedchatctrl.Update)
|
||||
group.POST("/batch/update", nakedchatctrl.BatchUpdate)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user