1
0
mirror of https://gitee.com/incloudcode/yexuejc-springboot.git synced 2025-07-15 16:27:27 +08:00

修复依赖问题

This commit is contained in:
yexuejc 2018-05-16 15:16:09 +08:00
parent db9cd1fcd9
commit fe9e443ddf
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ public class ParamsRequestBodyAdvice implements RequestBodyAdvice {
throw new GatewayException("sign错误");
}
InputStream body = IOUtils.toInputStream(JsonUtil.obj2Json(StrUtil.parseUrlencoded(data)), "UTF-8");
LogUtil.accessLogger.info("解密耗时:{}", System.currentTimeMillis() - t);
LogUtil.accessLogger.debug("解密耗时:{}", System.currentTimeMillis() - t);
return new MyHttpInputMessage(inputMessage.getHeaders(), body);
} catch (Exception e) {
e.printStackTrace();

View File

@ -86,7 +86,7 @@ public class ParamsResponseBodyAdvice implements ResponseBodyAdvice {
LogUtil.accessLogger.error("出参加密错误,进行明文出参{}。\n异常信息{}", JsonUtil.obj2Json(resps), e.getMessage());
}
}
LogUtil.accessLogger.info("加密耗时:{}", System.currentTimeMillis() - t);
LogUtil.accessLogger.debug("加密耗时:{}", System.currentTimeMillis() - t);
}
}
return body;