Commit e2fed53f authored by 赵啸非's avatar 赵啸非

添加应用主题

parent 3a58aecb
...@@ -134,12 +134,7 @@ public class AppServiceImpl extends AbstractCRUDServiceImpl<AppDao, AppEntity, L ...@@ -134,12 +134,7 @@ public class AppServiceImpl extends AbstractCRUDServiceImpl<AppDao, AppEntity, L
.addPath(item.getVersion().toString()) .addPath(item.getVersion().toString())
.build()); .build());
}else{ }else{
item.setCustUrl(UrlBuilder.create() item.setCustUrl(CUSTAPP_ROOT_PATH+"/"+siteEntity.getSiteCode()+"/"+item.getAppCode()+"/"+item.getVersion());
.addPath(CUSTAPP_ROOT_PATH)
.addPath(siteEntity.getSiteCode())
.addPath(item.getAppCode())
.addPath(item.getVersion().toString())
.build());
} }
} else { } else {
...@@ -150,8 +145,7 @@ public class AppServiceImpl extends AbstractCRUDServiceImpl<AppDao, AppEntity, L ...@@ -150,8 +145,7 @@ public class AppServiceImpl extends AbstractCRUDServiceImpl<AppDao, AppEntity, L
item.setAppIconUrl(UrlBuilder.ofHttp(domainUrl) item.setAppIconUrl(UrlBuilder.ofHttp(domainUrl)
.addPath(item.getAppIconPath()).build()); .addPath(item.getAppIconPath()).build());
}else{ }else{
item.setAppIconUrl(UrlBuilder.create() item.setAppIconUrl(item.getAppIconPath());
.addPath(item.getAppIconPath()).build());
} }
}); });
......
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