Commit 2c8809d0 authored by 黎博's avatar 黎博

modify

parent bc73db1d
...@@ -47,7 +47,10 @@ public class XinchengInterceptor implements HandlerInterceptor { ...@@ -47,7 +47,10 @@ public class XinchengInterceptor implements HandlerInterceptor {
responseStr = mock.getFail(); responseStr = mock.getFail();
} }
// 解析请求 // 解析请求
Map<String, Object> requestMap = JSON.parseObject(encryptConvertor.decrypt(JSON.toJSONString(convertParameterMap(parameterMap))), Map.class); Map<String, Object> requestMap = new HashMap<>();
if (parameterMap.size() != 0) {
requestMap = JSON.parseObject(encryptConvertor.decrypt(JSON.toJSONString(convertParameterMap(parameterMap))), Map.class);
}
Map<String, Object> responseMap = JSON.parseObject(responseStr, Map.class); Map<String, Object> responseMap = JSON.parseObject(responseStr, Map.class);
// 进件 // 进件
if (uri.equals("/webservice/api/lhp/v1/credit/creditApply")) { if (uri.equals("/webservice/api/lhp/v1/credit/creditApply")) {
......
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