@@ -0,0 +1,19 @@
|
||||
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)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user