8
This commit is contained in:
1 parent
24e525ab70
commit
7b19e55e74
11 files changed
+27
-28
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import os,time,sys
|
||||
from .utils.funcs import requestApiToUpdateSliceStatus
|
||||
from .utils.oss_redis import redisClient
|
||||
from .utils.funcs import downloadJsonAndJpgFileAndMoveToCorrectDir, downloadDataByOssAndTransformSave
|
||||
from download_batch_data.utils.funcs import requestApiToUpdateSliceStatus
|
||||
from download_batch_data.utils.oss_redis import redisClient
|
||||
from download_batch_data.utils.funcs import downloadJsonAndJpgFileAndMoveToCorrectDir, downloadDataByOssAndTransformSave
|
||||
# 默认使用脚本所在目录
|
||||
currentDir = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import os,time
|
||||
import re
|
||||
from .logs import log
|
||||
from download_batch_data.utils.logs import log
|
||||
|
||||
|
||||
def changeMtlFile(localMtlPath,newName):
|
||||
|
||||
@@ -9,11 +9,11 @@ import subprocess
|
||||
import sys
|
||||
import signal
|
||||
from concurrent.futures import ThreadPoolExecutor, as_completed
|
||||
from .oss_redis import ossClient
|
||||
from .logs import log
|
||||
from .oss_func import download_file_with_check, checkFileExists
|
||||
from .changeFiles import changeObjFile, changeMtlFile
|
||||
from .small_machine_transform import transform_save
|
||||
from download_batch_data.utils.oss_redis import ossClient
|
||||
from download_batch_data.utils.logs import log
|
||||
from download_batch_data.utils.oss_func import download_file_with_check, checkFileExists
|
||||
from download_batch_data.utils.changeFiles import changeObjFile, changeMtlFile
|
||||
from download_batch_data.utils.small_machine_transform import transform_save
|
||||
|
||||
ENV = 'prod'
|
||||
url = 'https://mp.api.suwa3d.com'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import os
|
||||
from .oss_redis import ossClient
|
||||
from .logs import log
|
||||
from download_batch_data.utils.oss_redis import ossClient
|
||||
from download_batch_data.utils.logs import log
|
||||
|
||||
# 从 OSS 下载文件到本地,并做完整性校验(状态码 + 文件大小)
|
||||
def download_file_with_check(ossFilePath, localFilePath):
|
||||
|
||||
Reference in new issue
Block a user