From e651d5273726b5570506da302995d557283664af Mon Sep 17 00:00:00 2001 From: smallchill Date: Sun, 31 Mar 2019 22:30:25 +0800 Subject: [PATCH] :tada: 2.2.0.RELEASE --- .../java/org/springblade/core/secure/annotation/PreAuth.java | 4 ---- .../core/secure/provider/IClientDetailsService.java | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/blade-core-secure/src/main/java/org/springblade/core/secure/annotation/PreAuth.java b/blade-core-secure/src/main/java/org/springblade/core/secure/annotation/PreAuth.java index 1927cfc..e821e10 100644 --- a/blade-core-secure/src/main/java/org/springblade/core/secure/annotation/PreAuth.java +++ b/blade-core-secure/src/main/java/org/springblade/core/secure/annotation/PreAuth.java @@ -19,10 +19,6 @@ import java.lang.annotation.*; /** * 权限注解 用于检查权限 规定访问权限 - * - * @example @PreAuth("#userVO.id<10") - * @example @PreAuth("hasRole(#test, #test1)") - * @example @PreAuth("hasPermission(#test) and @PreAuth.hasPermission(#test)") */ @Target({ElementType.METHOD, ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) diff --git a/blade-core-secure/src/main/java/org/springblade/core/secure/provider/IClientDetailsService.java b/blade-core-secure/src/main/java/org/springblade/core/secure/provider/IClientDetailsService.java index 52d3803..c5ad20d 100644 --- a/blade-core-secure/src/main/java/org/springblade/core/secure/provider/IClientDetailsService.java +++ b/blade-core-secure/src/main/java/org/springblade/core/secure/provider/IClientDetailsService.java @@ -26,7 +26,7 @@ public interface IClientDetailsService { * 根据clientId获取Client详情 * * @param clientId 客户端id - * @return + * @return IClientDetails */ IClientDetails loadClientByClientId(String clientId);