From 497ea3cceb2b7f3baaf0a09e623fb70dfcb18aa2 Mon Sep 17 00:00:00 2001 From: Yxq <2290299376@qq.com> Date: Sat, 11 Oct 2025 16:46:42 +0800 Subject: [PATCH] =?UTF-8?q?Ewm=E6=8E=A5=E5=8F=A3=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E6=AD=A3=E5=BC=8F=E7=94=9F=E4=BA=A7=E7=8E=AF=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/api/serviceImpl/EwmApiServiceImpl.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dev_wms_serve/src/main/java/com/wms_main/service/api/serviceImpl/EwmApiServiceImpl.java b/dev_wms_serve/src/main/java/com/wms_main/service/api/serviceImpl/EwmApiServiceImpl.java index 685dc59..8683d8d 100644 --- a/dev_wms_serve/src/main/java/com/wms_main/service/api/serviceImpl/EwmApiServiceImpl.java +++ b/dev_wms_serve/src/main/java/com/wms_main/service/api/serviceImpl/EwmApiServiceImpl.java @@ -22,7 +22,7 @@ import org.springframework.stereotype.Service; @Slf4j public class EwmApiServiceImpl implements IEwmApiService { private final HttpClient httpClient;// http客户端 - private final AppCommon appCommon;// 应用共通 + private final AppCommon appCommon;// 应用共通asrs/mom@123456 /** * 发送载具入库请求到EWM系统 @@ -33,7 +33,7 @@ public class EwmApiServiceImpl implements IEwmApiService { public EwmApiLocalResponse sendVehicleForIn(SendEwmVehicleForInRequest request) { try { // 构建Basic Auth认证信息 - String auth = "mom:test@123"; + String auth = "asrs:mom@123456"; String encodedAuth = java.util.Base64.getEncoder().encodeToString(auth.getBytes()); // 设置http请求 @@ -70,7 +70,7 @@ public class EwmApiServiceImpl implements IEwmApiService { public EwmApiBackResponse sendWarehouseInCompleted(SendWarehouseInCompletedRequest request) { try { // 构建Basic Auth认证信息 - String auth = "mom:test@123"; + String auth = "asrs:mom@123456"; String encodedAuth = java.util.Base64.getEncoder().encodeToString(auth.getBytes()); // 设置http请求 @@ -98,7 +98,7 @@ public class EwmApiServiceImpl implements IEwmApiService { public EwmApiBackResponse sendWarehouseOutCompleted(SendWarehouseOutCompletedRequest request) { try { // 构建Basic Auth认证信息 - String auth = "mom:test@123"; + String auth = "asrs:mom@123456"; String encodedAuth = java.util.Base64.getEncoder().encodeToString(auth.getBytes()); // 设置http请求 @@ -134,7 +134,7 @@ public class EwmApiServiceImpl implements IEwmApiService { String finalUrl = baseUrl.replace("{palletNo}", request.getContainerNo()); // 示例,具体字段名需根据实际类确定 // 构建Basic Auth认证信息 - String auth = "mom:test@123"; + String auth = "asrs:mom@123456"; String encodedAuth = java.util.Base64.getEncoder().encodeToString(auth.getBytes()); // 设置http请求,将认证信息放在token字段中 @@ -162,7 +162,7 @@ public class EwmApiServiceImpl implements IEwmApiService { public EwmApiStockResponse getEwmStock(SendEwmGetStockInformationRequest request) { try { // 构建Basic Auth认证信息 - String auth = "mom:test@123"; + String auth = "asrs:mom@123456"; String encodedAuth = java.util.Base64.getEncoder().encodeToString(auth.getBytes()); // 设置http请求 @@ -189,7 +189,7 @@ public class EwmApiServiceImpl implements IEwmApiService { public EwmApiBackResponse sendEwmCheckContainerNo(SendEwmCheckContainerNo request) { try { // 构建Basic Auth认证信息 - String auth = "mom:test@123"; + String auth = "asrs:mom@123456"; String encodedAuth = java.util.Base64.getEncoder().encodeToString(auth.getBytes()); // 设置http请求