From 0ae1ae5df49faf9239d54442f7939efbf1dc27e4 Mon Sep 17 00:00:00 2001 From: Chopper Date: Wed, 22 Dec 2021 12:27:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A6=82=E6=9E=9C=E6=97=A0=E6=B3=95=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E5=88=B0=E6=B6=88=E6=81=AF=EF=BC=8C=E5=88=99=E4=B8=8D?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E8=B6=B3=E8=BF=B9=EF=BC=8C=E4=B8=8D=E5=86=8D?= =?UTF-8?q?=E6=8A=9B=E5=87=BA=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/statistics/aop/aspect/PageViewInterceptor.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/framework/src/main/java/cn/lili/modules/statistics/aop/aspect/PageViewInterceptor.java b/framework/src/main/java/cn/lili/modules/statistics/aop/aspect/PageViewInterceptor.java index 183a2e52..491ceba5 100644 --- a/framework/src/main/java/cn/lili/modules/statistics/aop/aspect/PageViewInterceptor.java +++ b/framework/src/main/java/cn/lili/modules/statistics/aop/aspect/PageViewInterceptor.java @@ -62,7 +62,12 @@ public class PageViewInterceptor { break; } case STORE: - Map map = spelFormat(point); + Map map = null; + try { + map = spelFormat(point); + } catch (Exception e) { + return; + } storeId = map.get("id"); break; default: