finish
This commit is contained in:
17
router/notify.go
Normal file
17
router/notify.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"nCovTrack-Backend/handler"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func notifyPrivateRouter(router *gin.RouterGroup) {
|
||||
notifyRouter := router.Group("/notify")
|
||||
{
|
||||
notifyRouter.GET("/count", handler.CountNotificationHandler)
|
||||
notifyRouter.POST("/", handler.InsertNotificationHandler)
|
||||
notifyRouter.GET("/:start/:end", handler.ListNotificationHandler)
|
||||
notifyRouter.DELETE("/:index", handler.DeleteNotificationHandler)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user