chanjunkai 5 년 전
부모
커밋
f24fc438a3
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      controller/index.py

+ 2 - 2
controller/index.py

@@ -202,8 +202,8 @@ class oa2RtspStartView(TemplateView):
         if redis_data and st == 0:
             print('select by redis data')
             # 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':
             print('pass yes')
             user_qs = UserModel.objects.filter(userID='154483823297313800138000')