Files
nCovTrack-Backend/router/management.go
2022-05-04 20:06:21 +08:00

18 lines
509 B
Go

package router
import (
"nCovTrack-Backend/handler"
"github.com/gin-gonic/gin"
)
func managementPublicRouter(router *gin.RouterGroup) {
managementRouter := router.Group("/management")
{
managementRouter.GET("/observation/contact/pull/:patientId", handler.PullContactHandler)
managementRouter.GET("/observation", handler.ListObservationsHandler)
managementRouter.POST("/observation", handler.InsertObservationHandler)
managementRouter.GET("/observation/:id", handler.GetObservationHandler)
}
}