Authored by wuxiao

修复influxdb插入错误

@@ -89,7 +89,7 @@ while True: @@ -89,7 +89,7 @@ while True:
89 measurement = Config.log_channel+time.strftime('_%Y%m%d') 89 measurement = Config.log_channel+time.strftime('_%Y%m%d')
90 90
91 #拼装入库数据 91 #拼装入库数据
92 - json_body = [{ 92 + json_body = {
93 "measurement": measurement, 93 "measurement": measurement,
94 "tags": data['tags'], 94 "tags": data['tags'],
95 #"time": "2009-11-10T23:00:00Z", 95 #"time": "2009-11-10T23:00:00Z",