1 parent
eff582dee4
commit
ad5176074d
1 file changed
+5
-4
+5
-4
@@ -153,13 +153,14 @@ def process_new_demand(app_id, app_secret, table_id, record_id, data):
|
|||||||
if category == "optRTwYcra":
|
if category == "optRTwYcra":
|
||||||
parent_node_token = "SvWCwlWJ8iuFKpkXp1rcd9u2n3c"
|
parent_node_token = "SvWCwlWJ8iuFKpkXp1rcd9u2n3c"
|
||||||
|
|
||||||
doc_node_token, doc_obj_token = create_doc(client, space_id, parent_node_token, title)
|
doc_node_token, doc_obj_token = create_doc(
|
||||||
|
client, space_id, parent_node_token, title
|
||||||
|
)
|
||||||
block_id = get_doc_block(client, doc_obj_token)
|
block_id = get_doc_block(client, doc_obj_token)
|
||||||
|
|
||||||
create_doc_block(client, doc_obj_token, block_id, background, features)
|
create_doc_block(client, doc_obj_token, block_id, background, features)
|
||||||
|
|
||||||
doc_node_url = f"https://ying-dao.feishu.cn/wiki/{doc_node_token}"
|
doc_node_url = f"https://ying-dao.feishu.cn/wiki/{doc_node_token}"
|
||||||
|
|
||||||
update_record(
|
update_data = {"需求文档链接": doc_node_url, "状态": "待评估"}
|
||||||
client, bitable_token, table_id, record_id, {"需求文档链接": doc_node_url}
|
update_record(client, bitable_token, table_id, record_id, update_data)
|
||||||
)
|
|
||||||
Reference in new issue
Block a user