Browse Source

[深爱]科目基础资料对接测试

zxl 1 year ago
parent
commit
79b6e418cb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/java/com/uas/eis/service/Impl/RequestSTKServiceImpl.java

+ 2 - 2
src/main/java/com/uas/eis/service/Impl/RequestSTKServiceImpl.java

@@ -224,7 +224,7 @@ public class RequestSTKServiceImpl implements RequestSTKService {
         //param.put("TASKCODE","202409");
 
 
-        request.put("param",dtoParam.toString());
+        request.put("param",JSONObject.toJSONString(dtoParam));
 
         String content = request.toString();
 
@@ -258,7 +258,7 @@ public class RequestSTKServiceImpl implements RequestSTKService {
         header.put("timestamp", timestamp);
         header.put("sign", sign);
         header.put("Content-Type", "application/json");
-        HttpResultResponse resultResponse = HuToolUtils.post(QUERY_URL+CASH_FLOW_ITEMS_REQUEST_CODE
+        HttpResultResponse resultResponse = HuToolUtils.post(CASH_FLOW_ITEMS_REQUEST_CODE+CASH_FLOW_ITEMS_REQUEST_CODE
                 ,request, header);
 
         log.info("示例返回:{}",JSONObject.toJSONString(resultResponse));