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());