调整商品图片的原图路径接口

This commit is contained in:
季圣华
2023-07-25 00:21:28 +08:00
parent 5f0cf49f76
commit 2444ba874b
4 changed files with 25 additions and 10 deletions

View File

@@ -260,9 +260,11 @@ public class DepotItemController {
item.put("remark", diEx.getRemark());
item.put("imgName", diEx.getImgName());
if(fileUploadType == 2) {
item.put("imgType", "small");
item.put("imgSmall", "small");
item.put("imgLarge", "large");
} else {
item.put("imgType", "");
item.put("imgSmall", "");
item.put("imgLarge", "");
}
item.put("linkId", diEx.getLinkId());
item.put("depotId", diEx.getDepotId() == null ? "" : diEx.getDepotId());

View File

@@ -268,9 +268,11 @@ public class MaterialController {
item.put("expand", materialService.getMaterialOtherByParam(mpArr, material));
item.put("imgName", material.getImgName());
if(fileUploadType == 2) {
item.put("imgType", "small");
item.put("imgSmall", "small");
item.put("imgLarge", "large");
} else {
item.put("imgType", "");
item.put("imgSmall", "");
item.put("imgLarge", "");
}
dataArray.add(item);
}