This commit is contained in:
dongchangxi committed 2025-03-15 15:36:22 +08:00
1 parent 0c37afe492
commit 3a9a1f96e2
1 file changed
+1
+1
View File
@@ -38,6 +38,7 @@ def down_obj_fromoss(pid,order_id):
prefix = f'objs/print/{pid}/' prefix = f'objs/print/{pid}/'
if ossPath != "": if ossPath != "":
prefix = os.path.join("objs","print",pid,ossPath,order_id) prefix = os.path.join("objs","print",pid,ossPath,order_id)
prefix = prefix + "/"
filelist = oss2.ObjectIteratorV2(oss_client, prefix=prefix) filelist = oss2.ObjectIteratorV2(oss_client, prefix=prefix)
print(f'prefix:{prefix}') print(f'prefix:{prefix}')
print(f'ossPath:{ossPath}') print(f'ossPath:{ossPath}')