dongchangxi 5 months ago
parent
commit
70b64c76a0
  1. 4
      timer/test_external_order.py

4
timer/test_external_order.py

@ -285,9 +285,13 @@ def export_and_update_glbs(pid,order_ids): @@ -285,9 +285,13 @@ def export_and_update_glbs(pid,order_ids):
def createGlb(pid,order_ids):
#下载obj文件
print(f'{time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())} pid: {pid} 开始下载obj文件...')
down_obj_from_oss(config.workdir, pid, "print")
print(f'{time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())} pid: {pid} 下载obj文件完成...')
#检测mtl 文件是否正常,
print(f'{time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())} pid: {pid} 开始检测mtl文件...')
isNormal = checkDownloadFile(pid)
print(f'{time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())} pid: {pid} 检测mtl文件完成...')
if isNormal == False:
print(f'{pid}的mtl文件检测出现问题,不执行该笔任务,调用取消的接口')
for order_id in order_ids:

Loading…
Cancel
Save