feat✨优化router import

This commit is contained in:
wenjianzhang committed 2021-05-10 17:02:26 +08:00
1 parent 13ff9d9e63
commit ae34ff8f82
14 files changed
+41 -57

No files matched your search

+1 -4
View File
@@ -33,9 +33,6 @@ func examplesNoCheckRoleRouter(r *gin.Engine) {
for _, f := range routerNoCheckRole {
f(v1)
}
// {{无需认证路由自动补充在此处请勿删除}}
//registerSysFileInfoRouter(v1)
}
// 需要认证的路由示例
@@ -48,4 +45,4 @@ func examplesCheckRoleRouter(r *gin.Engine, authMiddleware *jwtauth.GinJWTMiddle
for _, f := range routerCheckRole {
f(v1, authMiddleware)
}
}
}