Default Changelist
This commit is contained in:
1 parent
54158b8824
commit
98e0ee92a7
1 file changed
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
package router
|
package router
|
||||||
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
jwt "github.com/go-admin-team/go-admin-core/sdk/pkg/jwtauth"
|
jwt "github.com/go-admin-team/go-admin-core/sdk/pkg/jwtauth"
|
||||||
@@ -40,4 +39,4 @@ func checkRoleRouter(r *gin.Engine, authMiddleware *jwt.GinJWTMiddleware) {
|
|||||||
for _, f := range routerCheckRole {
|
for _, f := range routerCheckRole {
|
||||||
f(v1, authMiddleware)
|
f(v1, authMiddleware)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user