From 23ae9fabe8bf7e3c901a140993cafa76ec4a9254 Mon Sep 17 00:00:00 2001 From: chenhc <2369838784@qq.com> Date: Tue, 12 Nov 2024 15:36:17 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=8D=AF=E5=93=81=E5=85=B3=E8=81=94?= =?UTF-8?q?=E5=85=B3=E7=B3=BB=E6=9F=A5=E9=87=8D=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/controller/sync/DirectConnectController.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/api-admin/src/main/java/com/glxp/sale/admin/controller/sync/DirectConnectController.java b/api-admin/src/main/java/com/glxp/sale/admin/controller/sync/DirectConnectController.java index dd9b245..f3d76bd 100644 --- a/api-admin/src/main/java/com/glxp/sale/admin/controller/sync/DirectConnectController.java +++ b/api-admin/src/main/java/com/glxp/sale/admin/controller/sync/DirectConnectController.java @@ -165,6 +165,16 @@ public class DirectConnectController { } + @PostMapping("/udiwms/relCode/checkCode") + public BaseResponse checkCode(@RequestBody List codeList) { + String result = UHttpClient.postJson(getSpmsUrl() + "/udiwms/relCode/checkCode", codeList, getHeaders()); + BaseResponse response = + JSONObject.parseObject(result, new TypeReference>() { + }); + return response; + } + + @PostMapping("/spms/udchs/codeRe/update") public BaseResponse updateCodeRelDetail(@RequestBody CodeRel codeRel) { String result = UHttpClient.postJson(getSpmsUrl() + "/spms/udchs/codeRe/update", codeRel, getHeaders());