17 lines
341 B
Go
Executable File
17 lines
341 B
Go
Executable File
package router
|
|
|
|
import (
|
|
"91porn-server/web/api/imgroupctrl"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// imGroupRouter im群组管理
|
|
func imGroupRouter(router *gin.RouterGroup) {
|
|
group := router.Group("/imgroup")
|
|
{
|
|
group.GET("/list", imgroupctrl.List)
|
|
group.POST("/create", imgroupctrl.Create)
|
|
group.POST("/update", imgroupctrl.Update)
|
|
}
|
|
}
|