Commit 9a71f148 authored by 黎博's avatar 黎博

debug

parent 214bc0bb
...@@ -39,7 +39,7 @@ public class RuleEngineInterceptor implements HandlerInterceptor { ...@@ -39,7 +39,7 @@ public class RuleEngineInterceptor implements HandlerInterceptor {
@Override @Override
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler)
throws Exception { throws Exception {
String uri = request.getRequestURI().substring(5); // 去掉/mock String uri = request.getRequestURI();
Map<String, String[]> parameterMap = request.getParameterMap(); Map<String, String[]> parameterMap = request.getParameterMap();
Map<String, Object> requestMap = convertParameterMap(parameterMap); Map<String, Object> requestMap = convertParameterMap(parameterMap);
QueryWrapper<Mock> queryWrapper = new QueryWrapper<>(); QueryWrapper<Mock> queryWrapper = new QueryWrapper<>();
...@@ -95,7 +95,7 @@ public class RuleEngineInterceptor implements HandlerInterceptor { ...@@ -95,7 +95,7 @@ public class RuleEngineInterceptor implements HandlerInterceptor {
bodyMap.put("allowInstalmentTerms", null); bodyMap.put("allowInstalmentTerms", null);
bodyMap.put("openingDeadLine", null); bodyMap.put("openingDeadLine", null);
if (requestMap.get("bizType").equals("8") && requestMap.get("sceneId").equals("12")) { if (requestMap.get("bizType").equals("8") && requestMap.get("sceneId").equals("12")) {
bodyMap.put("allowInstalment", 1); bodyMap.put("quotaPaymentAmount", "10000");
} }
resultMap.put("body", bodyMap); resultMap.put("body", bodyMap);
return resultMap; return resultMap;
......
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