chanjunkai hace 5 años
padre
commit
f24fc438a3
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      controller/index.py

+ 2 - 2
controller/index.py

@@ -202,8 +202,8 @@ class oa2RtspStartView(TemplateView):
         if redis_data and st == 0:
         if redis_data and st == 0:
             print('select by redis data')
             print('select by redis data')
             # time.sleep(3)
             # time.sleep(3)
-            res_json = eval(redis_data)
-            return JsonResponse(res_json, safe=False)
+            # res_json = eval(redis_data)
+            # return JsonResponse(res_json, safe=False)
         if access_token == '6ovF9wiXm7su9YXO67PSOkrEPb2LIOf1':
         if access_token == '6ovF9wiXm7su9YXO67PSOkrEPb2LIOf1':
             print('pass yes')
             print('pass yes')
             user_qs = UserModel.objects.filter(userID='154483823297313800138000')
             user_qs = UserModel.objects.filter(userID='154483823297313800138000')