Commit 9cefcfd4 authored by zhangyingbin's avatar zhangyingbin

回滚aop

parent cfe288ac
...@@ -95,6 +95,9 @@ public class ControllerAop { ...@@ -95,6 +95,9 @@ public class ControllerAop {
// 不需要校验token的接口直接返回 // 不需要校验token的接口直接返回
if (joinPoint.getSignature() instanceof MethodSignature) { if (joinPoint.getSignature() instanceof MethodSignature) {
if (!((MethodSignature) joinPoint.getSignature()).getMethod().getAnnotation(TycloudOperation.class).needAuth() && !request.getParameterMap().containsKey("token") && ValidationUtil.isEmpty(token)) {
return;
}
} }
// 平台studio配置的下载接口token从url里取 // 平台studio配置的下载接口token从url里取
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment