20 lines
326 B
Go
20 lines
326 B
Go
package router
|
|
|
|
import (
|
|
"91porn-server/app/api/infmtctrl"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func infmtRouter(router *gin.RouterGroup) {
|
|
inform := router.Group("/inform")
|
|
{
|
|
inform.GET("/preview", infmtctrl.Preview)
|
|
//通知类
|
|
notice := inform.Group("/notice")
|
|
{
|
|
notice.GET("/list", infmtctrl.NoticeList)
|
|
}
|
|
}
|
|
}
|