1
This commit is contained in:
1 parent
bad67dacd1
commit
70b64c76a0
1 file changed
+4
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user