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

debug

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