|
@@ -313,8 +313,10 @@ class CustomerTemplateService:
|
|
|
return None
|
|
return None
|
|
|
def copyImage(self,src_path,limit_path):
|
|
def copyImage(self,src_path,limit_path):
|
|
|
try:
|
|
try:
|
|
|
- shutil.copy(src_path, limit_path)
|
|
|
|
|
- return True
|
|
|
|
|
|
|
+ print("copyImage 模型图/场景图开始复制",src_path)
|
|
|
|
|
+ print("copyImage 模型图/场景图开始复制",limit_path)
|
|
|
|
|
+ shutil.copy(src_path, limit_path)
|
|
|
|
|
+ return True
|
|
|
except Exception as e:
|
|
except Exception as e:
|
|
|
- logger.info(f"copyImage 复制模特图/场景图出错:{str(e)}",src_path,limit_path)
|
|
|
|
|
|
|
+ logger.info(f"copyImage 复制模特图/场景图出错:{str(e)}")
|
|
|
return False
|
|
return False
|