mirror of
https://gitee.com/incloudcode/yexuejc-springboot.git
synced 2025-07-15 16:27:27 +08:00
修复依赖问题
This commit is contained in:
parent
db9cd1fcd9
commit
fe9e443ddf
@ -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();
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user