jcshow 数据拆解写入数数

This commit is contained in:
pengtao 2019-10-21 10:49:00 +08:00
parent 6f0b4e9b32
commit ac29acaeaf

View File

@ -41,7 +41,7 @@ class JcShow:
tga_data['account_id'] = data['account_id']
tga_data['#time'] = datetime.datetime.strptime(self.time, "%Y-%m-%d")
tga_data['channelid'] = self.channelid
tga_data['show_time'] = data['show_time']
#tga_data['show_time'] = data['show_time']
self.tga.put_event_data(tga_data, f'rep_{self.event_type}')
except Exception:
log.error(f"write 2 tga failed!,context={data}", exc_info=True)