refactor🎨: 去除log中间件日志打印

This commit is contained in:
zhangwenjian
2021-06-07 16:41:21 +08:00
parent dad4b4cca8
commit 65e0b58be9
-1
View File
@@ -22,7 +22,6 @@ func AuthCheckRole() gin.HandlerFunc {
//检查权限
if v["rolekey"] == "admin" {
res = true
log.Infof("info:%s method:%s path:%s", v["rolekey"], c.Request.Method, c.Request.URL.Path)
} else {
res, err = e.Enforce(v["rolekey"], c.Request.URL.Path, c.Request.Method)
if err != nil {