chenjunkai 6 жил өмнө
parent
commit
410f0d6f6f

+ 1 - 1
Controller/AdminManage.py

@@ -147,7 +147,7 @@ class AdminManage(TemplateView):
 
     def getRedisOnline(self, userID, response):
         # 权限固定为30
-        own_perm = ModelService.own_permission(userID, 30)
+        own_perm = ModelService.check_perm(userID, 30)
         if own_perm:
             count = int(Device_Info.objects.count())
             redisObj = RedisObject(db=3)