v1.0.3
This commit is contained in:
@@ -45,7 +45,7 @@ public class JournalAPIInterceptor implements HandlerInterceptor {
|
||||
requiredUploadPermission = handlerMethod.getMethodAnnotation(RequiredUploadPermission.class) != null;
|
||||
}
|
||||
if (!canAccess()) {
|
||||
throw new TimiException(TimiCode.PERMISSION_MISS).msgKey("invalid.key");
|
||||
throw new TimiException(TimiCode.PERMISSION_MISS, "invalid.key");
|
||||
}
|
||||
return !requiredUploadPermission || canUploadKey();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user