1
This commit is contained in:
1 parent
6567bfa300
commit
e04998394d
1 file changed
+1
-1
@@ -190,7 +190,7 @@ def team_check(r):
|
|||||||
if os.path.exists(f'D://print/{pid}/{pid}_pic.png'):
|
if os.path.exists(f'D://print/{pid}/{pid}_pic.png'):
|
||||||
#获取拍照订单的信息,从中得到拍照订单的信息
|
#获取拍照订单的信息,从中得到拍照订单的信息
|
||||||
uuid = get_p3d_info(str(pid))
|
uuid = get_p3d_info(str(pid))
|
||||||
if uuid != 0:
|
if uuid != 0 and uuid != None and uuid != "":
|
||||||
print("uuid",uuid)
|
print("uuid",uuid)
|
||||||
config.oss_bucket_3d_view.put_object_from_file(f'{uuid}/3d_view.png', f'D://print/{pid}/{pid}_pic.png')
|
config.oss_bucket_3d_view.put_object_from_file(f'{uuid}/3d_view.png', f'D://print/{pid}/{pid}_pic.png')
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user