From 67c7d1522af21eecf307e25c279f3320b31853b8 Mon Sep 17 00:00:00 2001 From: dengbiao Date: Wed, 9 Oct 2024 18:59:56 +0800 Subject: [PATCH] 1 --- app/router/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) // 获取菜单栏列表