fix cover creator
continuous-integration/drone/push Build is passing

This commit is contained in:
jianxin committed 2024-06-05 11:39:06 +08:00
1 parent 1867179ce0
commit 543990996d
3 files changed
+70 -160

No files matched your search

+5 -1
View File
@@ -171,7 +171,11 @@ def process_message_callback(
send_group_message(client, message_id, content)
# 表格触发器会自动设置 "创建人-售后专用" 为创建者, 使用接口调整
time.sleep(2)
for _ in range(100):
creator_names = get_record_creator_name_by_id(client, bitable_token, table_id, record_id)
if "官方应用指令" in creator_names:
break
time.sleep(2)
update_data = {"创建人-售后专用": [{"id": thread_sender_id}]}
update_record(client, bitable_token, table_id, record_id, update_data)