Browse Source

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

zxl 1 year ago
parent
commit
9e8a932a96
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/uas/eis/controller/STKController.java

+ 1 - 1
src/main/java/com/uas/eis/controller/STKController.java

@@ -405,7 +405,7 @@ public class STKController {
         dto.setSize("500");
         QueryCashFlowItemsDto dtoParam = new QueryCashFlowItemsDto();
         //HttpResultResponse cashFlowItemsVo = requestSTKService.buildPostParam(1,500,dtoParam);
-        dto.setParam(JSON.toJSON(dtoParam));
+        dto.setParam(JSONObject.toJSONString(dtoParam));
         CashFlowItemsVo cashFlowItemsVo = requestSTKService.getCashFlowItems(dto);
         //return JSONObject.parseObject(cashFlowItemsVo.getBody(),CashFlowItemsVo.class);
         return cashFlowItemsVo;