Commit 6dcf00ed authored by 赵啸非's avatar 赵啸非

修改缓存刷新

parent 4bd5739f
Pipeline #2735 failed with stages
......@@ -72,11 +72,11 @@ public class SkinServiceImpl extends AbstractCRUDServiceImpl<SkinDao, SkinEntity
SkinEntity skinEntity = new SkinEntity();
skinEntity.initAttrValue();
//存相对地址
log.info("cssPath before:{}",newSkin.getCssFilePath());
/* log.info("cssPath before:{}",newSkin.getCssFilePath());
newSkin.setCssFilePath("/file"+ StrUtil.subAfter(newSkin.getCssFilePath(), "/file", true));
newSkin.setPreviewImagePath("/file"+StrUtil.subAfter(newSkin.getPreviewImagePath(), "/file", true));
log.info("cssPath after:{}",newSkin.getCssFilePath());
log.info("cssPath after:{}",newSkin.getCssFilePath());*/
BeanUtils.copyProperties(newSkin, skinEntity, BeanUtil.getNullPropertyNames(newSkin));
return skinEntity;
......
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