diff --git a/app/router/router.go b/app/router/router.go index 20d5b78..3546e56 100644 --- a/app/router/router.go +++ b/app/router/router.go @@ -132,5 +132,5 @@ func rInstitutionalManagement(r *gin.RouterGroup) { //制度管理 func rComm(r *gin.RouterGroup) { r.POST("/getMenuList", comm.MenuList) // 获取菜单栏列表 - r.POST("/getOssUrl", comm.GetOssUrl) // 获取阿里云上传PutObject所需的签名URL + r.GET("/getOssUrl", comm.GetOssUrl) // 获取阿里云上传PutObject所需的签名URL }