feat: temp upload
This commit is contained in:
17
router/investigate.go
Normal file
17
router/investigate.go
Normal file
@@ -0,0 +1,17 @@
|
||||
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)
|
||||
})
|
||||
}
|
||||
}
|
||||
@@ -15,6 +15,7 @@ func BusiRouter() {
|
||||
statisticRouter(publicRouter)
|
||||
articlePublicRouter(publicRouter)
|
||||
userPublicRouter(publicRouter)
|
||||
investigatePublicRouter(publicRouter)
|
||||
}
|
||||
|
||||
// Private
|
||||
|
||||
Reference in New Issue
Block a user