修复pc端编辑bug

This commit is contained in:
TinyAnts 2023-03-16 18:59:31 +08:00
parent f1c9a66127
commit b95e43c7ac
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ public class SettingWebsiteServiceImpl implements ISettingWebsiteService {
vo.setLogo(UrlUtils.toAbsoluteUrl(config.getOrDefault("logo", "")));
vo.setFavicon(UrlUtils.toAbsoluteUrl(config.getOrDefault("favicon", "")));
vo.setBackdrop(UrlUtils.toAbsoluteUrl(config.getOrDefault("backdrop", "")));
vo.setShopName(config.getOrDefault("shopName", ""));
vo.setShopLogo(UrlUtils.toAbsoluteUrl(config.getOrDefault("shopLogo", "")));
@ -59,8 +59,8 @@ public class SettingWebsiteServiceImpl implements ISettingWebsiteService {
ConfigUtils.set("website", "shopLogo", UrlUtils.toRelativeUrl(websiteValidate.getShopLogo()));
ConfigUtils.set("website", "pcLogo", UrlUtils.toRelativeUrl(websiteValidate.getPcLogo()));
ConfigUtils.set("website", "pcIco", UrlUtils.toRelativeUrl(websiteValidate.getPcIco()));
ConfigUtils.set("website", "pcTitle", websiteValidate.getPcTitle());
ConfigUtils.set("website", "pcIco", websiteValidate.getPcIco());
ConfigUtils.set("website", "pcDesc", websiteValidate.getPcDesc());
ConfigUtils.set("website", "pcKeywords", websiteValidate.getPcKeywords());
}