调整PC端底部版权获取信息问题

This commit is contained in:
TinyAnts 2023-01-10 10:26:26 +08:00
parent 5880ea48af
commit 21866eb315
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ public class PcServiceImpI implements IPcService {
Map<String, Object> websiteMap = new LinkedHashMap<>();
Map<String, String> websiteConfig = ConfigUtils.get("website");
String copyright = websiteConfig.getOrDefault("copyright", "[]");
Map<String, String> copyrightMap = ArrayUtils.stringToListAsMapStr(copyright).get(0);
List<Map<String, String>> copyrightMap = ArrayUtils.stringToListAsMapStr(copyright);
websiteMap.put("shopName", websiteConfig.getOrDefault("shopName", "LikeAdmin"));
websiteMap.put("shopLogo", UrlUtils.toAbsoluteUrl(websiteConfig.getOrDefault("shopLogo", "")));