This commit is contained in:
Mr. Lan
2020-07-15 01:40:56 +08:00
parent 1f5c67832b
commit ad740914d9
40 changed files with 3278 additions and 124 deletions

View File

@@ -20,7 +20,7 @@ func AuthCheckRole() gin.HandlerFunc {
tools.HasError(err, "", 500)
//检查权限
res, err := e.Enforce(v["rolekey"], c.Request.URL.Path, c.Request.Method)
log.Println("----------------", v["rolekey"], c.Request.URL.Path, c.Request.Method)
log.Println(v["rolekey"], c.Request.URL.Path, c.Request.Method)
tools.HasError(err, "", 500)