1
This commit is contained in:
1 parent
6414504022
commit
093e5b3114
1 file changed
+1
@@ -30,6 +30,7 @@ def down_obj_fromoss(pid,order_id):
|
|||||||
ossPath = ""
|
ossPath = ""
|
||||||
if res.json()['code'] == 1000:
|
if res.json()['code'] == 1000:
|
||||||
ossPath = res.json()['data']
|
ossPath = res.json()['data']
|
||||||
|
ossPath = ossPath.replace("\\","/")
|
||||||
|
|
||||||
path = os.path.join(workdir, 'print', pid)
|
path = os.path.join(workdir, 'print', pid)
|
||||||
if not os.path.exists(path): os.makedirs(path)
|
if not os.path.exists(path): os.makedirs(path)
|
||||||
|
|||||||
Reference in new issue
Block a user