|
|
|
|
@ -47,6 +47,10 @@ def check_pid_file(pid):
@@ -47,6 +47,10 @@ def check_pid_file(pid):
|
|
|
|
|
|
|
|
|
|
#根据参数初始化操作 |
|
|
|
|
def cmd_run(pid,usePhoto = "1",lock=False): |
|
|
|
|
# 更新云端任务状态 |
|
|
|
|
res = requests.post(config.urls['update_status_modeling_url'], data={'id': pid}) |
|
|
|
|
print('更新建模中状态:', res.text) |
|
|
|
|
|
|
|
|
|
pid = str(pid) |
|
|
|
|
#检测文件并且下载处理文件 |
|
|
|
|
check_pid_file(pid) |
|
|
|
|
|