1 parent
ae3428d422
commit
60d4f2a8e3
3 files changed
+50
-14
No files matched your search
+10
-2
@@ -146,8 +146,16 @@ def do_bitable_record_add(data) -> None:
|
||||
return
|
||||
|
||||
if "record_edited" in actions_name and action_data["status"] == "optgKzdQp5":
|
||||
# 映射对应的用户 id
|
||||
process_new_robot.delay()
|
||||
# 映射对应的用户 id
|
||||
user_name_id_map = {
|
||||
"剑心": "0be1759d-d05c-42ad-9ea4-846fc61dc191",
|
||||
"驿站": "2b694f9f-c3b4-4658-9aad-f714a8ffbc86",
|
||||
"波音": "668720500393357312",
|
||||
"虚竹": "620156921033129984",
|
||||
}
|
||||
user_id = user_name_id_map.get(action_data["deal_person"])
|
||||
action_data["deal_person_id"] = user_id
|
||||
process_new_robot.delay(app_id, app_secret, action_data)
|
||||
return
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user