|
|
@@ -26,6 +26,7 @@ async def checkSelect(params: CheckSelectImages):
|
|
|
else:
|
|
|
need_cutout_images = service.check_need_cutout_images(file_path)
|
|
|
# print("need_cutout_images",need_cutout_images)
|
|
|
+ #
|
|
|
if len([x for x in need_cutout_images if x["need_cutout"]]) == 0:
|
|
|
raise UnicornException("您所选文件夹下没有jpg/png图片,或对应图片已扣图")
|
|
|
return success(need_cutout_images)
|