增加cloud。等待完善

This commit is contained in:
zhouhao
2017-10-10 18:59:47 +08:00
parent 7cf12cc16d
commit 002cbbc447
10 changed files with 184 additions and 57 deletions

View File

@@ -43,7 +43,7 @@ public interface Authentication extends Serializable {
* //如果权限信息不存在将抛出{@link NoSuchElementException}建议使用下面的方式获取
* Authentication auth=Authentication.current().orElse(null);
* //或者
* Authentication auth=Authentication.current().orElseThrow(AuthorizeException::new);
* Authentication auth=Authentication.current().orElseThrow(UnAuthorizedException::new);
* </pre>
*
* @return 返回Optional对象进行操作