Commit 1027b620 authored by 黎博's avatar 黎博

新增日志

parent 7ea0f052
......@@ -42,9 +42,9 @@ public class YeebaoInterceptor implements HandlerInterceptor {
String uri = request.getRequestURI();
if (!(uri.equals("/tzt-api/api/divide/record") || uri.equals("/balance-board/transfer"))) {
log.info("收到易宝 {} 接口请求, 请求方式:{}", uri, request.getMethod());
log.info("请求参数:{}", JSON.toJSONString(convertParameterMap(parameterMap)));
}
Map<String, String[]> parameterMap = request.getParameterMap();
log.info("请求参数:{}", JSON.toJSONString(convertParameterMap(parameterMap)));
QueryWrapper<Mock> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("url", uri);
Mock mock = mockMapper.selectOne(queryWrapper);
......
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