Commit e6b7c180 authored by 廖旭伟's avatar 廖旭伟

保存页面截图接口修改为文件路径存储

parent dacd9b15
......@@ -82,6 +82,7 @@ public class PageInfoServiceImpl extends AbstractCRUDServiceImpl<PageInfoDao, Pa
private void doSaveImageBase64(PageInfoEntity entity,String oldName){
String base64 = String.valueOf(entity.getScreenUrl());
base64 = base64.replaceAll("data:image/png;base64,","");
if(StringUtils.isEmpty(base64)){
throw new AppException("图片不能为空");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment