|
@@ -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)
|