同步暂降模块代码

This commit is contained in:
2022-07-12 09:53:32 +08:00
parent c647009f8e
commit d709dce051
13 changed files with 139 additions and 27 deletions

View File

@@ -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));