ProceedingJoinPoint is only supported for around advice


原因是:@Before 注解,参数应该使用 JoinPoint,而不能使用 ProceedingJoinPoint

且 ProceedingJoinPoint 参数,是注解@Around 环绕使用,

另外 @Before 注解的方法没有返回值,如下:

    @Around(executeExpr)
    public Object setOpenId(ProceedingJoinPoint point) {
    @Before(executeExpr)
    public void checkSynchSession(JoinPoint point) {