diff --git a/apps/auto_convert3d_new.py b/apps/auto_convert3d_new.py index 626c9cd..5df101d 100644 --- a/apps/auto_convert3d_new.py +++ b/apps/auto_convert3d_new.py @@ -176,6 +176,18 @@ def team_check(r): shutil.rmtree(os.path.join(workdir, 'print', pid,orderId), ignore_errors=True) print(time.strftime('%Y-%m-%d %H:%M:%S', time.localtime()), f'pid:{pid} 生成团队审核模型 end') + #塞入队列进行处理 , SADD 方式插入 + queueData = { + 'pid': pid, + 'order_id': orderId, + 'shop_id': shopId, + 'oss_path': ossPath, + } + r.sadd('model:adjust_image_color', json.dumps(queueData)) + + + + def get_p3d_info(pid): url = "https://mp.api.suwa3d.com/api/customerP3dLog/info?id="+pid res = requests.get(url)