feat ✨ 开放部分中间件
This commit is contained in:
1 parent
ca8fd2178d
commit
dc32d92755
2 files changed
+3
-3
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user