diff --git a/app/router/router.go b/app/router/router.go index 4047177..de6d176 100644 --- a/app/router/router.go +++ b/app/router/router.go @@ -82,7 +82,7 @@ func route(r *gin.RouterGroup) { func rComm(r *gin.RouterGroup) { r.GET("/getBaseInfo", hdl.GetBaseInfo) // 获取系统信息 -d r.StaticFS("/upload", http.Dir("./static/upload")) + r.StaticFS("/upload", http.Dir("./static/upload")) r.Use(mw.CheckPermission) // 检测权限 r.POST("/uploadFile", hdl.UploadFile) // 上传文件 r.POST("/getMenuList", hdl.MenuList) // 获取菜单栏列表