@Aop({"authInterceptor"})
@At("im/test")
@Ok("json")
public Result test(){
Result re = new Result();
re.setObj("访问成功");
re.setInfo(Params.str_noRequestAuth);
re.setStatus(Params.status_failed);
return re;
}
@IocBean
public class AuthInterceptor implements MethodInterceptor{
public void filter(InterceptorChain chain){
System.out.println("方法即将执行 -->" + chain.getCallingMethod());
}
}
接口return返回值是NULL???