BUGFIX:系统模特高宽默认1050 500;

This commit is contained in:
shahaibo
2023-10-09 09:51:31 +08:00
parent b18e8eb09f
commit e7ea5c2a2a

View File

@@ -468,7 +468,7 @@ public class CollectionElementServiceImpl extends ServiceImpl<CollectionElementM
if (Objects.isNull(modelPoint)) {
throw new BusinessException("error modelPoint get");
}
elementVO.setDesignLibraryModelPoint(calculateTemplatePointTemplate(modelPoint,byId.getHigh(),byId.getWidth(),byId.getUrl()));
elementVO.setDesignLibraryModelPoint(calculateTemplatePointTemplate(modelPoint,1050,500,byId.getUrl()));
}
}else {
throw new BusinessException("templateId or modelType can't be null");