Browse Source

修改权限

pzb 6 năm trước cách đây
mục cha
commit
4a6233d5fd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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()