Ver Fonte

修改权限

pzb há 6 anos atrás
pai
commit
4a6233d5fd
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Controller/AccessLog.py

+ 1 - 1
Controller/AccessLog.py

@@ -174,7 +174,7 @@ def statisticsPath(request):
     if tko.code != 0:
         return response.json(tko.code)
     userID = tko.userID
-    own_perm = ModelService.check_perm(userID, 10)
+    own_perm = ModelService.check_perm(userID, 30)
     if own_perm is not True:
         return response.json(404)
     paths = TemplateService.log_api()