调整商品图片的原图路径接口
This commit is contained in:
@@ -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());
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user