This commit is contained in:
1 parent
f6c75a4a7d
commit
560515016f
4 files changed
+14
-8
No files matched your search
@@ -490,8 +490,12 @@ def new_blank_robot(name="", user_id="80808032853078016"):
|
||||
public = Client(public_username, public_password)
|
||||
|
||||
# 1. 设置文件上传模板文件路径
|
||||
schema_save_path = os.path.join("/code/app/flow_template/robot", "package.json")
|
||||
package_save_path = os.path.join("/code/app/flow_template/robot", "blank.bot")
|
||||
schema_save_path = os.path.join(
|
||||
"/home/wn/yd/office_xbot_feishu/app/flow_template/robot", "package.json"
|
||||
)
|
||||
package_save_path = os.path.join(
|
||||
"/home/wn/yd/office_xbot_feishu/app/flow_template/robot", "blank.bot"
|
||||
)
|
||||
|
||||
# 2. 创建新公有云新 UUID
|
||||
new_uuid = str(uuid.uuid4())
|
||||
@@ -638,5 +642,7 @@ if __name__ == "__main__":
|
||||
# for item in office_activity_uuids:
|
||||
# print(item.get("packageViewName"), item.get("uuid"))
|
||||
|
||||
new_blank_robot("测试-根据需求生成应用")
|
||||
new_blank_robot("测试-根据需求生成应用", "620156920605310976")
|
||||
# new_blank_activity()
|
||||
|
||||
|
||||
Reference in new issue
Block a user