From 94290af50c81a18c303fd1aef97d89c36534750a Mon Sep 17 00:00:00 2001 From: zhaojun1998 Date: Sun, 8 Dec 2019 13:34:10 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E6=97=B6=EF=BC=8C=E5=8F=AF=E8=83=BD=E5=87=BA?= =?UTF-8?q?=E7=8E=B0=E7=9A=84=E5=B9=B6=E5=8F=91=E4=BF=AE=E6=94=B9=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=20BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/im/zhaojun/common/service/SystemService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/im/zhaojun/common/service/SystemService.java b/src/main/java/im/zhaojun/common/service/SystemService.java index 9bd84c1..2432943 100644 --- a/src/main/java/im/zhaojun/common/service/SystemService.java +++ b/src/main/java/im/zhaojun/common/service/SystemService.java @@ -19,7 +19,7 @@ public class SystemService { * 构建指定路径下标题, 页头, 页尾 * @param path 路径 */ - public SiteConfigDTO getConfig(String path) throws Exception { + public synchronized SiteConfigDTO getConfig(String path) throws Exception { SiteConfigDTO siteConfigDTO = new SiteConfigDTO(); FileService fileService = systemConfigService.getCurrentFileService();