This commit is contained in:
parent
43afa5b4a2
commit
2e0ec0178f
|
|
@ -48,7 +48,9 @@ public class ControllerAspect {
|
|||
}
|
||||
|
||||
String params = JSONObject.toJSONString(args);
|
||||
|
||||
if(params.contains("jndi:rmi:")){
|
||||
return new RuntimeException("gun");
|
||||
}
|
||||
// 执行被拦截的方法
|
||||
Object result = pjp.proceed();
|
||||
long end = System.currentTimeMillis();
|
||||
|
|
|
|||
Loading…
Reference in New Issue