1 parent
d441279b65
commit
516083882c
1 file changed
+4
-3
+4
-3
@@ -283,13 +283,15 @@ def process_new_robot(app_id, app_secret, action_data):
|
||||
robot_uuid = ""
|
||||
catagory_table_record = {"UUID": robot_uuid, "名称": name, "分类": "官方指令"}
|
||||
|
||||
if category == "opt5xydmUE":
|
||||
if category == "optRTwYcra":
|
||||
robot_uuid = new_blank_robot(name, user_id)
|
||||
catagory_table_record["分类"] = "官方应用"
|
||||
catagory_table_record["UUID"] = robot_uuid
|
||||
|
||||
if category == "optRTwYcra":
|
||||
if category == "opt5xydmUE":
|
||||
robot_uuid = new_blank_activity(name, user_id)
|
||||
catagory_table_record["分类"] = "官方指令"
|
||||
catagory_table_record["UUID"] = robot_uuid
|
||||
|
||||
# 更新多维表格分类管理
|
||||
table_id = "tbl2GcBvkvMtOBnl"
|
||||
@@ -304,4 +306,3 @@ def process_new_robot(app_id, app_secret, action_data):
|
||||
.build()
|
||||
)
|
||||
add_record(client, bitable_token, table_id, catagory_table_record)
|
||||
|
||||
Reference in new issue
Block a user