mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-05-22 00:29:50 +08:00
refactor: 当oauth2授权*时,使用单例token.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package org.hswebframework.web.authorization.basic.aop;
|
||||
|
||||
import org.hswebframework.ezorm.core.CastUtil;
|
||||
import org.hswebframework.ezorm.core.param.Param;
|
||||
import org.hswebframework.ezorm.core.param.QueryParam;
|
||||
import org.hswebframework.ezorm.core.param.Term;
|
||||
@@ -134,7 +135,7 @@ public class AopAuthorizingControllerTest {
|
||||
.flatMapIterable(Function.identity())
|
||||
.next()
|
||||
.map(Term::getValue)
|
||||
.<Collection<Object>>map(Collection.class::cast)
|
||||
.map(CastUtil::<Collection<Object>>cast)
|
||||
.flatMapIterable(Function.identity())
|
||||
.next()
|
||||
.as(StepVerifier::create)
|
||||
|
||||
Reference in New Issue
Block a user