From 2bff854ecaa9358db8dbd7520cc5c8a6a5689a71 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 3 Jul 2024 13:50:13 +0800 Subject: [PATCH] =?UTF-8?q?add=20workflow=20=E5=A4=A9=E6=B6=A6Smart-ccc?= =?UTF-8?q?=E4=BC=9A=E8=AF=9D=E6=95=B0=E6=8D=AE,dev?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../smart_ccc_chat/查询会话记录列表/chat_records_feign.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev/workflow/TK_Cust/smart_ccc_chat/查询会话记录列表/chat_records_feign.py b/dev/workflow/TK_Cust/smart_ccc_chat/查询会话记录列表/chat_records_feign.py index 08a1ec2..142c499 100644 --- a/dev/workflow/TK_Cust/smart_ccc_chat/查询会话记录列表/chat_records_feign.py +++ b/dev/workflow/TK_Cust/smart_ccc_chat/查询会话记录列表/chat_records_feign.py @@ -197,7 +197,8 @@ if __name__ == "__main__": if 'records' in resD: ids.append(id) dataList = resD['records'] - detailDataList.append(dataList) + # detailDataList.append(dataList) + detailDataList = detailDataList+dataList else: error = resD['error'] print(f"请求会话详情(id:{id})失败,错误信息:{error}") @@ -207,5 +208,6 @@ if __name__ == "__main__": load_detail_exp_to_db(data['id']) if len(ids) > 0: ids_str = [str(item) for item in ids] + print(f'会话详情{ids_str}') load_detail_data_to_db(ids_str,detailDataList) print(f'{formatted2_previous_hour(0)}请求会话信息结束') \ No newline at end of file