Commit 4bd5739f authored by 赵啸非's avatar 赵啸非

修改缓存刷新

parent 4017a0b5
Pipeline #2734 canceled with stages
......@@ -386,6 +386,7 @@ public class HomeController extends BaseJsonBodyController {
appPdu.setSiteId(siteId);
appPdu.setSize(-1);
Rest<RespData<List<AppPdu>>> appRest = appFeign.list(appPdu);
String domainUrl = UrlBuilder.ofHttp(serverName).setPort(serverPort > 0 ? serverPort : 11078).build();
/// String domainUrl1 = StrUtil.sub(domainUrl, 0, domainUrl.length());
......
......@@ -72,8 +72,12 @@ public class SkinServiceImpl extends AbstractCRUDServiceImpl<SkinDao, SkinEntity
SkinEntity skinEntity = new SkinEntity();
skinEntity.initAttrValue();
//存相对地址
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());
BeanUtils.copyProperties(newSkin, skinEntity, BeanUtil.getNullPropertyNames(newSkin));
return skinEntity;
}).collect(Collectors.toList());
......
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