Эх сурвалжийг харах

获取设备上传数据demo

peng 1 жил өмнө
parent
commit
77367d990b
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      Controller/TestApi.py

+ 1 - 1
Controller/TestApi.py

@@ -1205,7 +1205,7 @@ class testView(View):
     @staticmethod
     def generic_report_push(request_dict, response):
         try:
-            logging.info('设备上传数据:{}'.format(request_dict))
+            LOGGER.info('设备上传数据:{}'.format(request_dict))
             return response.json(0)
         except Exception as e:
             return response.json(500, 'error_line:{}, error_msg:{}'.format(e.__traceback__.tb_lineno, repr(e)))