18 lines
350 B
Go
18 lines
350 B
Go
package router
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
"nCovTrack-Backend/service/investigate"
|
|
"net/http"
|
|
)
|
|
|
|
func investigatePublicRouter(router *gin.RouterGroup) {
|
|
investigateRouter := router.Group("investigate")
|
|
{
|
|
investigateRouter.GET("/test", func(c *gin.Context) {
|
|
investigate.QueryHotelContacts()
|
|
c.JSON(http.StatusOK, nil)
|
|
})
|
|
}
|
|
}
|