Commit 1107c01e authored by 黎博's avatar 黎博

debug

parent 7a45ef0c
...@@ -54,6 +54,8 @@ public class PayInterceptor implements HandlerInterceptor { ...@@ -54,6 +54,8 @@ public class PayInterceptor implements HandlerInterceptor {
throws Exception { throws Exception {
SwitchDataSource.dataSourceSwitch(namespace, "qa"); SwitchDataSource.dataSourceSwitch(namespace, "qa");
String uri = request.getRequestURI().substring(5); String uri = request.getRequestURI().substring(5);
Map paramMap = request.getParameterMap();
log.info("打印请求参数:{}", paramMap.toString());
QueryWrapper<Mock> queryWrapper = new QueryWrapper<>(); QueryWrapper<Mock> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("url", uri); queryWrapper.eq("url", uri);
Mock mock = mockMapper.selectOne(queryWrapper); 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