修改加密接口中put接口也做解密操作
This commit is contained in:
@@ -65,7 +65,7 @@ public class RequestWrapperFilter implements Filter {
|
||||
if (needProcess(httpRequest)) {
|
||||
// 处理请求解密
|
||||
String method = httpRequest.getMethod();
|
||||
if("POST".equalsIgnoreCase(method)) {
|
||||
if("POST".equalsIgnoreCase(method)||"PUT".equalsIgnoreCase(method)) {
|
||||
HttpServletRequest processedRequest = processBodyRequest(httpRequest);
|
||||
chain.doFilter(processedRequest, response);
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user