This commit is contained in:
dongchangxi committed 2025-07-01 10:01:35 +08:00
1 parent 6779b08fa8
commit 6117a5f49d
4 files changed
+19 -14

No files matched your search

+1 -1
View File
@@ -235,7 +235,7 @@ def export_and_update_glbs(pid,order_ids):
print(res.text)
#执行获取obj缩略图
print("执行获取obj全身缩略图脚本")
os.system(f'python d:\\make2\\tools\pic_for_obj\image_rander_small.py -pid {pid} -i D://print -o D://print/{pid}')
os.system(f'python d:\\make2\\tools\pic_for_obj\image_rander_small.py -pid {pid} -i D://print/{pid} -o D://print/{pid}')
print("判断获取封面图是否存在0")
#判断文件是否存在,存在则上传到oss, 更新数据库内容
if os.path.exists(f'D://print/{pid}/{pid}_pic.png'):