From 21866eb315de4d0386ea3a339d8ed2fab23d4934 Mon Sep 17 00:00:00 2001 From: TinyAnts Date: Tue, 10 Jan 2023 10:26:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4PC=E7=AB=AF=E5=BA=95=E9=83=A8?= =?UTF-8?q?=E7=89=88=E6=9D=83=E8=8E=B7=E5=8F=96=E4=BF=A1=E6=81=AF=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/mdd/front/service/impl/PcServiceImpI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/like-front/src/main/java/com/mdd/front/service/impl/PcServiceImpI.java b/server/like-front/src/main/java/com/mdd/front/service/impl/PcServiceImpI.java index d12b2265..e6c2f109 100644 --- a/server/like-front/src/main/java/com/mdd/front/service/impl/PcServiceImpI.java +++ b/server/like-front/src/main/java/com/mdd/front/service/impl/PcServiceImpI.java @@ -140,7 +140,7 @@ public class PcServiceImpI implements IPcService { Map websiteMap = new LinkedHashMap<>(); Map websiteConfig = ConfigUtils.get("website"); String copyright = websiteConfig.getOrDefault("copyright", "[]"); - Map copyrightMap = ArrayUtils.stringToListAsMapStr(copyright).get(0); + List> copyrightMap = ArrayUtils.stringToListAsMapStr(copyright); websiteMap.put("shopName", websiteConfig.getOrDefault("shopName", "LikeAdmin")); websiteMap.put("shopLogo", UrlUtils.toAbsoluteUrl(websiteConfig.getOrDefault("shopLogo", "")));