瀏覽代碼

调试打印信息

locky 4 年之前
父節點
當前提交
0c7a48da84
共有 1 個文件被更改,包括 2 次插入0 次删除
  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流地址