feat: add jwt

This commit is contained in:
fallen-angle
2022-02-10 17:08:42 +08:00
parent 77f7d0caad
commit 2d43931fc8
10 changed files with 165 additions and 5 deletions
+13
View 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)
}
}
+1
View File
@@ -22,4 +22,5 @@ func BusiRouter() {
//})
}
statisticRouter()
articleRouter()
}