同步暂降模块代码
This commit is contained in:
@@ -37,6 +37,7 @@ public class AuthorizationManager implements ReactiveAuthorizationManager<Author
|
||||
//不追究请求方式,如果需追求,需要在数据库中添加请求方式的字段request.getMethodValue()
|
||||
String restPath = request.getURI().getPath();
|
||||
log.info("请求路径:{}", restPath);
|
||||
log.error("测试error" + System.currentTimeMillis());
|
||||
// 对应跨域的预检请求直接放行
|
||||
// if (request.getMethod() == HttpMethod.OPTIONS) {
|
||||
// return Mono.just(new AuthorizationDecision(true));
|
||||
|
||||
Reference in New Issue
Block a user