图片上传示例 前端图片跨域下载示例 文档更新
This commit is contained in:
@@ -13,11 +13,11 @@ func InitRouter() *gin.Engine {
|
||||
var Router = gin.Default()
|
||||
Router.GET("/swagger/*any", ginSwagger.WrapHandler(swaggerFiles.Handler))
|
||||
//Router.Use(middleware.Logger())
|
||||
router.InitUserRouter(Router) // 注册用户路由
|
||||
router.InitBaseRouter(Router) // 注册基础功能路由
|
||||
router.InitMenuRouter(Router) // 注册menu路由
|
||||
router.InitAuthorityRouter(Router) // 注册角色路由
|
||||
router.InitApiRouter(Router) // 注册功能api路由
|
||||
|
||||
router.InitUserRouter(Router) // 注册用户路由
|
||||
router.InitBaseRouter(Router) // 注册基础功能路由
|
||||
router.InitMenuRouter(Router) // 注册menu路由
|
||||
router.InitAuthorityRouter(Router) // 注册角色路由
|
||||
router.InitApiRouter(Router) // 注册功能api路由
|
||||
router.InitFileUploadAndDownloadRouter(Router) // 文件上传下载功能路由
|
||||
return Router
|
||||
}
|
||||
|
Reference in New Issue
Block a user