feat 操作日志功能更换bind方式

This commit is contained in:
wenjianzhang
2021-05-25 19:35:45 +08:00
parent 126f62ce59
commit 623e796c92
2 changed files with 90 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
package router
import (
"github.com/gin-gonic/gin"
"go-admin/app/other/apis"
)
func init() {
routerNoCheckRole = append(routerNoCheckRole, registerFileRouter)
}
// 需认证的路由代码
func registerFileRouter(v1 *gin.RouterGroup) {
var api = apis.File{}
v1.POST("/public/uploadFile", api.UploadFile)
}