From 00f96360351c7cff47e412f7404a9dfe3fb8a4dd Mon Sep 17 00:00:00 2001 From: yjz <3131811435@qq.com> Date: Mon, 30 Oct 2023 17:19:58 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=87=AA=E5=AE=9A=E4=B9=89=E5=AF=B9?= =?UTF-8?q?=E6=AF=94):=20=E5=8D=95=E5=85=83=E6=A0=BC=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/docking/iam/client/TestClient.java | 15 +++++++-------- .../LawsCustomCompareInfoController.java | 2 +- 2 files changed, 8 insertions(+), 9 deletions(-) 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)); }