feat: add jwt
This commit is contained in:
13
router/article.go
Normal file
13
router/article.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"nCovTrack-Backend/global"
|
||||
"nCovTrack-Backend/handler"
|
||||
)
|
||||
|
||||
func articleRouter() {
|
||||
articleRouter := global.RootRouter.Group("/article")
|
||||
{
|
||||
articleRouter.POST("/save", handler.SaveArticleHandler)
|
||||
}
|
||||
}
|
||||
@@ -22,4 +22,5 @@ func BusiRouter() {
|
||||
//})
|
||||
}
|
||||
statisticRouter()
|
||||
articleRouter()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user