mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-09-02 18:46:13 +00:00
update 优化注释格式,删除无用假注释
This commit is contained in:
@@ -25,7 +25,7 @@ public class GlobalCorsFilter implements WebFilter, Ordered {
|
||||
/**
|
||||
* 这里为支持的请求头,如果有自定义的header字段请自己添加
|
||||
*/
|
||||
private static final String ALLOWED_HEADERS = "X-Requested-With, Content-Language, Content-Type, Authorization, clientId, credential, X-XSRF-TOKEN, isToken, token, Admin-Token, App-Token";
|
||||
private static final String ALLOWED_HEADERS = "X-Requested-With, Content-Language, Content-Type, Authorization, clientid, credential, X-XSRF-TOKEN, isToken, token, Admin-Token, App-Token";
|
||||
|
||||
/**
|
||||
* 允许的请求方法
|
||||
|
@@ -48,7 +48,6 @@ public class GlobalLogFilter implements GlobalFilter, Ordered {
|
||||
if (WebFluxUtils.isJsonRequest(exchange)) {
|
||||
if (apiDecryptProperties.getEnabled()
|
||||
&& ObjectUtil.isNotNull(request.getHeaders().getFirst(apiDecryptProperties.getHeaderFlag()))) {
|
||||
//加密开启并且请求标识不能为空
|
||||
log.info("[PLUS]开始请求 => URL[{}],参数类型[encrypt]", url);
|
||||
} else {
|
||||
String jsonParam = WebFluxUtils.resolveBodyFromCacheRequest(exchange);
|
||||
|
Reference in New Issue
Block a user