add create new robot
continuous-integration/drone/push Build is passing

This commit is contained in:
jianxin committed 2024-06-06 12:51:41 +08:00
1 parent 98939fb310
commit 2eb366c25d
2 files changed
+22 -8

No files matched your search

+6
View File
@@ -10,6 +10,7 @@ from app.utils.utils import *
from app.utils.yd_utils import get_token, get_activity_info
from app.utils.feishu import create_doc, get_doc_block, create_doc_block, get_messages
from app.utils.utils import update_record
from app.utils.yd_utils import new_blank_robot
def parse_history_message(data):
@@ -271,3 +272,8 @@ def process_new_demand(app_id, app_secret, table_id, record_id, data):
update_data = {"需求文档链接": doc_node_url, "状态": "待评估"}
update_record(client, bitable_token, table_id, record_id, update_data)
@shared_task(include_result=False)
def process_new_robot():
new_blank_robot(name="测试-需求创建机器人")