18 lines
410 B
Go
Executable File
18 lines
410 B
Go
Executable File
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)
|
|
}
|
|
}
|