mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-09 04:49:02 +08:00
🐛 Fixing a bug. log insert spel 执行报错
This commit is contained in:
1 parent
877b1661aa
commit
7b0487f2d9
1 file changed
+1
-1
+1
-1
@@ -58,7 +58,7 @@ public class SysLogAspect {
|
||||
log.debug("[类名]:{},[方法]:{}", strClassName, strMethodName);
|
||||
|
||||
String value = sysLog.value();
|
||||
if (StrUtil.isNotBlank(value)) {
|
||||
if (StrUtil.contains(value, "#")) {
|
||||
// 解析SPEL
|
||||
MethodSignature signature = (MethodSignature) point.getSignature();
|
||||
EvaluationContext context = SysLogUtils.getContext(point.getArgs(), signature.getMethod());
|
||||
|
||||
Reference in new issue
Block a user