🎉 2.2.0.RELEASE

This commit is contained in:
smallchill 2019-03-31 22:30:25 +08:00
parent 70a1574a8a
commit e651d52737
2 changed files with 1 additions and 5 deletions

View File

@ -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}) @Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)

View File

@ -26,7 +26,7 @@ public interface IClientDetailsService {
* 根据clientId获取Client详情 * 根据clientId获取Client详情
* *
* @param clientId 客户端id * @param clientId 客户端id
* @return * @return IClientDetails
*/ */
IClientDetails loadClientByClientId(String clientId); IClientDetails loadClientByClientId(String clientId);