请求头示例
Content-Type: application/json
systemId: xxxx
后台获取
Enumeration<String> headerNames = req.getHeaderNames();
while (headerNames.hasMoreElements()) {
//这里获取的headerName值是systemid,从systemId ---> systemid,导致后台无法获取值
String headerName = headerNames.nextElement();
String headerValue = req.getHeader(headerName);
}
目前暂时没有想到好的解决方案,暂时请求头中参数名全部小写