BUGFIX: 模特preview;

This commit is contained in:
shahaibo
2023-10-16 10:53:37 +08:00
parent 0dd765123f
commit 5e70f7ca73
5 changed files with 43 additions and 14 deletions

View File

@@ -1852,18 +1852,21 @@ public class PythonService {
dress.setType(SysFileLevel2TypeEnum.DRESS.getRealName());
dress.setColor("none");
dress.setIcon("none");
dress.setPrint(new DesignPythonItemPrint("none",
CollectionLevel1TypeEnum.PRINT_BOARD.getRealName(), 0.3f, Boolean.FALSE));
dress.setPath("https://www.aida.com.hk/download/sys/images/blouse/blouse_p5_817.jpg");
DesignPythonItemPrint designPythonItemPrint = new DesignPythonItemPrint();
designPythonItemPrint.setIfSingle(false);
designPythonItemPrint.setPrint_path_list(new ArrayList<>());
// dress.setPrint(new DesignPythonItemPrint("none",
// CollectionLevel1TypeEnum.PRINT_BOARD.getRealName(), 0.3f, Boolean.FALSE));
dress.setPrint(designPythonItemPrint);
dress.setPath("aida-sys-images/images/female/blouse/blouse_p5_817.jpg");
response.add(dress);
DesignPythonItem skirt = new DesignPythonItem();
skirt.setType(SysFileLevel2TypeEnum.SKIRT.getRealName());
skirt.setColor("none");
skirt.setIcon("none");
skirt.setPrint(new DesignPythonItemPrint("none",
CollectionLevel1TypeEnum.PRINT_BOARD.getRealName(), 0.3f, Boolean.FALSE));
skirt.setPath("https://www.aida.com.hk/download/sys/images/trousers/trousers_974.jpg");
skirt.setPrint(designPythonItemPrint);
skirt.setPath("aida-sys-images/images/female/trousers/trousers_974.jpg");
response.add(skirt);
DesignPythonItem body = new DesignPythonItem();