1 parent
a4d8341b9f
commit
cd64b9c04d
1 file changed
+3
@@ -105,6 +105,8 @@ def process_message_callback(
|
|||||||
lark.logger.info("忽略非记录问题的消息")
|
lark.logger.info("忽略非记录问题的消息")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
record_category = "官方指令" if "指令" in content_text else "官方应用"
|
||||||
|
|
||||||
record = {}
|
record = {}
|
||||||
images = []
|
images = []
|
||||||
images_token = []
|
images_token = []
|
||||||
@@ -125,6 +127,7 @@ def process_message_callback(
|
|||||||
record["反馈渠道"] = "机器人"
|
record["反馈渠道"] = "机器人"
|
||||||
record["工单状态"] = "处理中"
|
record["工单状态"] = "处理中"
|
||||||
record["紧急程度"] = "一般"
|
record["紧急程度"] = "一般"
|
||||||
|
record["分类"] = record_category
|
||||||
|
|
||||||
history_message_data = get_messages(client, "thread", thread_id)
|
history_message_data = get_messages(client, "thread", thread_id)
|
||||||
lark.logger.info(f"history_message_data: {history_message_data}")
|
lark.logger.info(f"history_message_data: {history_message_data}")
|
||||||
|
|||||||
Reference in new issue
Block a user