dengbiao 2 months ago
parent
commit
67c7d1522a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/router/router.go

+ 1
- 1
app/router/router.go View File

@@ -82,7 +82,7 @@ func route(r *gin.RouterGroup) {


func rComm(r *gin.RouterGroup) { func rComm(r *gin.RouterGroup) {
r.GET("/getBaseInfo", hdl.GetBaseInfo) // 获取系统信息 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.Use(mw.CheckPermission) // 检测权限
r.POST("/uploadFile", hdl.UploadFile) // 上传文件 r.POST("/uploadFile", hdl.UploadFile) // 上传文件
r.POST("/getMenuList", hdl.MenuList) // 获取菜单栏列表 r.POST("/getMenuList", hdl.MenuList) // 获取菜单栏列表


Loading…
Cancel
Save