Commit c1216348 authored by 赵啸非's avatar 赵啸非

添加应用主题

parent 8e66cb7c
......@@ -105,7 +105,7 @@ public class AccessLogFilter implements GlobalFilter, Ordered {
accessLogPdu.setLogTime(new Date());
accessLogPdu.setMethod(request.getMethodValue());
log.info("origin uri:{} host:{}",requestPath,request.getHeaders().getHost().getHostName());
log.info("origin uri:{} host:{} port:{}",requestPath,request.getHeaders().getHost().getHostName(),request.getHeaders().getHost().getPort());
MediaType mediaType = request.getHeaders().getContentType();
if (MediaType.APPLICATION_FORM_URLENCODED.isCompatibleWith(mediaType) || MediaType.APPLICATION_JSON.isCompatibleWith(mediaType)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment