diff --git a/laws-modules-docking/src/main/java/com/jero/modules/docking/iam/client/TestClient.java b/laws-modules-docking/src/main/java/com/jero/modules/docking/iam/client/TestClient.java index 3d369c5f..67235fb6 100644 --- a/laws-modules-docking/src/main/java/com/jero/modules/docking/iam/client/TestClient.java +++ b/laws-modules-docking/src/main/java/com/jero/modules/docking/iam/client/TestClient.java @@ -27,14 +27,14 @@ public class TestClient { public static void main(String[] args) throws JsonProcessingException { TestClient testClient = new TestClient(); - testClient.sendSchemaService(); // 字段映射接口测试 -// testClient.sendUserCreate(); // 创建用户接口测试 - testClient.sendUserUpdate(); // 更新用户接口测试 - testClient.sendOrgCreate(); // 组织创建接口测试 +// testClient.sendSchemaService(); // 字段映射接口测试 +//// testClient.sendUserCreate(); // 创建用户接口测试 +// testClient.sendUserUpdate(); // 更新用户接口测试 +// testClient.sendOrgCreate(); // 组织创建接口测试 testClient.sendQueryAllUserIdsService(); // 查询所有用户ID接口测试 - testClient.sendQueryAllOrgIdsService(); // 查询所有组织ID接口测试 - testClient.sendQueryOrgByIdService(); // 查询指定id的组织数据测试 - testClient.sendQueryUserByIdService(); // 查询指定id的用户数据测试 +// testClient.sendQueryAllOrgIdsService(); // 查询所有组织ID接口测试 +// testClient.sendQueryOrgByIdService(); // 查询指定id的组织数据测试 +// testClient.sendQueryUserByIdService(); // 查询指定id的用户数据测试 } // 对数据解密 @@ -223,7 +223,6 @@ public class TestClient { AcceptEncryptPo sendPoDataEntity = handlerPoPackage(encryptData); String sendPoDataJson = objectMapper.writeValueAsString(sendPoDataEntity); - String response = HttpUtil.post(url, sendPoDataJson); System.out.println("查询全部用户id接口响应:" + response); diff --git a/laws-modules/src/main/java/com/jero/modules/laws/customcompare/controller/LawsCustomCompareInfoController.java b/laws-modules/src/main/java/com/jero/modules/laws/customcompare/controller/LawsCustomCompareInfoController.java index d57ca664..c64f4d77 100644 --- a/laws-modules/src/main/java/com/jero/modules/laws/customcompare/controller/LawsCustomCompareInfoController.java +++ b/laws-modules/src/main/java/com/jero/modules/laws/customcompare/controller/LawsCustomCompareInfoController.java @@ -166,7 +166,7 @@ public class LawsCustomCompareInfoController { @AutoLog(value = "自定义对比-单元格内容保存") @ApiOperation(value="自定义对比-单元格内容保存", notes="自定义对比-单元格内容保存") @PostMapping(value = "/saveCell") - public Result> saveCell(LawsCustomCompareCell lawsCustomCompareCell) { + public Result> saveCell(@RequestBody LawsCustomCompareCell lawsCustomCompareCell) { lawsCustomCompareCellService.save(lawsCustomCompareCell); return Result.OK(MessageUtils.getMessage(ResultCommon.OK)); }