feat ✨ 开放部分中间件

This commit is contained in:
wenjianzhang committed 2021-05-25 19:37:56 +08:00
1 parent ca8fd2178d
commit dc32d92755
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ func InitRouter() {
//r.Use(common.Sentinel()).
// Use(common.RequestId(pkg.TrafficKey))
//common.InitMiddleware(r)
common.InitMiddleware(r)
// the jwt middleware
authMiddleware, err := common.AuthInit()
if err != nil {