Browse Source

调试打印信息

locky 4 năm trước cách đây
mục cha
commit
0c7a48da84
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      controller/index.py

+ 2 - 0
controller/index.py

@@ -321,6 +321,8 @@ class oa2RtspStartView(TemplateView):
         return True
 
     def reqSendRtspMsg(self, url):
+        logger = logging.getLogger('django')
+        logger.info('--------请求接口--------')
         requests.get(url=url)
 
     # 触发此方法,让摄像头推流到MSG流地址