feat: temp upload

This commit is contained in:
fallen-angle
2022-04-13 19:48:10 +08:00
parent 80ca1cd46e
commit fc347a4140
15 changed files with 155 additions and 8 deletions

17
router/investigate.go Normal file
View 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)
})
}
}

View File

@@ -15,6 +15,7 @@ func BusiRouter() {
statisticRouter(publicRouter)
articlePublicRouter(publicRouter)
userPublicRouter(publicRouter)
investigatePublicRouter(publicRouter)
}
// Private